format
typescript
GameObject.isStaticclass: GameObject
description
(Read Only) Whether the current object is a static object.
parameter
| param_name | type | description |
|---|
reture
| type | description |
|---|---|
boolean | Whether the current object is a static object. |
code example
typescript
let go = new GameObject("test");
Debug.Log(go.isStatic);