Legacy Documentation: Version 2018.2 (Go to current version)
LanguageEnglish
  • C#

GameObject.isStatic

Switch to Manual
public bool isStatic;

Description

Editor only API that specifies if a game object is static.

Returns true if any of the static flags are set (See Also: GameObjectUtility.SetStaticEditorFlags).

setting this to true sets all the static flags (See Also: GameObjectUtility.SetStaticEditorFlags).

Did you find this page useful? Please give it a rating: