ドキュメント

Unity Engine

Unity Engine

isStatic

Whether there are any Static Editor Flags set for the GameObject.
読み終わるまでの所要時間 1 分最終更新 1ヶ月前

Definition

  • Type: Property
  • Namespace: UnityEngine
  • Assembly: UnityEngine.CoreModule
public bool isStatic { get; set; }

Remarks

Returns
true
if any StaticEditorFlags are set. Returns
false
if no Static Editor Flags are set.
Set to
true
to enable all Static Editor Flags. Set to
false
to disable all Static Editor Flags.
Static 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.