Skip to content

format

typescript
GameObject.isStatic

class: GameObject

description

(Read Only) Whether the current object is a static object.

parameter

param_nametypedescription

reture

typedescription
booleanWhether the current object is a static object.

code example

typescript
let go = new GameObject("test");
Debug.Log(go.isStatic);