- Home /
The name `StaticOcclusionCullingMode' does not exist in the current context
Hi friends,
I am writing an editor plugin. Its actually an update. Can you please solve this for me? If you have any alternatives please let me know.
In Unity's documentation this enum is there. But it is not available in the editor code. I've placed the source file in Editor folder and used
using UnityEditor;
But the error still comes.
Answer by GameVortex · Feb 19, 2015 at 09:29 AM
That enum does not exist anymore. It has been deprecated and removed. The only place referencing that enum is in the documentation for StaticOcclusionCulling.Compute function, the documentation has not been updated properly as that function no longer takes any parameters at all.
Thanks. Is there any replacement to update to the enum? I mean what I can do with my old code. if the enum is deprecated and deleted, then there must be an alternative for the old code.
Your answer
Follow this Question
Related Questions
How to make a editor script that sets the values of serialized variables in the editor 1 Answer
Remove or disable an EditorGUILayout.PropertyField 0 Answers
SearchableEditorWindow 2 Answers
Is it possible to have editor-only native plugins? 0 Answers
Stop a MonoBehavior from being addable as a script? 0 Answers