///异步加载UIMnager public static void InitAsync() { GameObject instance = GameObject.Find("UIManager"); if (instance == null) { GameObjectManager.CreateGameObjectByPoolAsync("UIManager", (obj) => { SetUIManager(obj); }); } else { SetUIManager(instance); } }