UI.DrawNotification(!deRenderFeaturePresent,"The Dynamic Effects extension is installed, but the render feature hasn't been setup on the default renderer","Add",()=>
{
PipelineUtilities.AddRenderFeature<WaterDynamicEffectsRenderFeature>(name:"Stylized Water 2: Dynamic Effects");
deRenderFeaturePresent=true;
deRenderFeatureEnabled=true;
},MessageType.Error);
}
if(Application.isPlaying&&!deRenderFeaturePresent)EditorGUILayout.HelpBox("Exit play mode to perform this action",MessageType.Warning);
UI.DrawNotification(deRenderFeaturePresent&&!deRenderFeatureEnabled,"The Dynamic Effects render feature is disabled","Enable",()=>