中文
Appearance
Scene.IsGameObjectExists(go)
Scene
判断当前场景是否存在指定游戏对象。
GameObject
boolean
const scene = SceneManager.CreateScene("test"); const obj = new GameObject("test1"); const exist:boolean = scene.IsGameObjectExists(obj);