GameObject.isStatic
var isStatic: bool;
bool isStatic;
isStatic as bool
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).