isStatic
Whether there are any Static Editor Flags set for the GameObject.
Read time 1 minuteLast updated 6 days ago
Definition
- Type: Property
- Namespace: UnityEngine
- Assembly: UnityEngine.CoreModule
public bool isStatic { get; set; }
Remarks
Set to to enable all Static Editor Flags. Set to to disable all Static Editor Flags.
truefalseStatic Editor Flags determine which Unity systems consider a GameObject as static, and include the GameObject in their precomputations in the Unity Editor. Setting StaticEditorFlags at runtime has no effect on these systems.
For more information, refer to Unity Manual documentation on Static Editor Flags.
Additional Resources: StaticEditorFlags, GameObjectUtility.SetStaticEditorFlags.