# StaticEditorFlags

> Describes which Unity systems consider the GameObject as static, and include the GameObject in their precomputations in the Unity Editor.

## Definition

* **Type:** Enum
* **Namespace:** [UnityEditor](/engine/6000.0/script-reference/unityeditor.md)
* **Assembly:** UnityEditor

```csharp
[Flags]
public enum StaticEditorFlags
```

## Remarks

Setting StaticEditorFlags at runtime has no effect on these systems.

For more information, see the [ Unity Manual documentation on StaticEditorFlags](/engine/6000.0/manual/working-with-gameobjects/gameobject-fundamentals/static-objects.md).

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

## Fields

| Value                                                                                                           | Description                                                                                                                                                                  |
| --------------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| [BatchingStatic](/engine/6000.0/script-reference/unityeditor/staticeditorflags/batchingstatic.md)               | Combine the GameObject's Mesh with other eligible Meshes, to potentially reduce runtime rendering costs.                                                                     |
| [ContributeGI](/engine/6000.0/script-reference/unityeditor/staticeditorflags/contributegi.md)                   | Include the target [Mesh Renderer](/engine/6000.0/manual/assets-and-media/asset-types/mesh/components-reference/class-mesh-renderer.md) in global illumination calculations. |
| [OccludeeStatic](/engine/6000.0/script-reference/unityeditor/staticeditorflags/occludeestatic.md)               | Mark the GameObject as a Static Occludee in the occlusion culling system.                                                                                                    |
| [OccluderStatic](/engine/6000.0/script-reference/unityeditor/staticeditorflags/occluderstatic.md)               | Mark the GameObject as a Static Occluder in the occlusion culling system.                                                                                                    |
| [ReflectionProbeStatic](/engine/6000.0/script-reference/unityeditor/staticeditorflags/reflectionprobestatic.md) | Include this GameObject when when precomputing data for **Reflection Probes** whose **Type** property is set to **Baked**.                                                   |
