# OccludeeStatic

> Mark the GameObject as a Static Occludee in the occlusion culling system.

## Definition

* **Type:** Field
* **Namespace:** [UnityEditor](/engine/6000.6/script-reference/unityeditor.md)
* **Assembly:** UnityEditor.CoreModule

```csharp
OccludeeStatic = 16
```

### Remarks

For more information, see the documentation on [the Occlusion Culling system](/engine/6000.6/manual/cameras/occlusion-culling/occlusion-culling.md).

```csharp
using UnityEngine;
using UnityEditor;
public class StaticEditorFlagsExample
{
    [MenuItem("Examples/Create GameObject and set Static Editor Flags")]
    static void CreateGameObjectAndSetStaticEditorFlags()
    {
        // Create a GameObject
        var go = new GameObject("Example");
        // Set the GameObject's StaticEditorFlags
        var flags = StaticEditorFlags.OccludeeStatic;
        GameObjectUtility.SetStaticEditorFlags(go, flags);
    }
}
```

Additional Resources: [GameObjectUtility.SetStaticEditorFlags](/engine/6000.6/script-reference/unityeditor/gameobjectutility/setstaticeditorflags.md), [GameObject.isStatic](/engine/6000.6/script-reference/unityengine/gameobject/isstatic.md)
