private void CreatObj() { gamingUIController = UIManager.Instance.GetUI <GamingUIController>("Gaming"); loadingUIController = UIManager.Instance.GetUI <LoadingUIController>("Loading"); suspendUIController = UIManager.Instance.GetUI <SuspendUIController>("suspend"); gameoverUIController = UIManager.Instance.GetUI <GameOverUIController>("GameOver"); gameoverUIController.gameObject.SetActive(false); newRoleInfoUIController = UIManager.Instance.GetUI <NewRoleInfoUIController>("NewRoleInfo"); storeUIController = UIManager.Instance.GetUI <StoreUIController>("Store"); gameEffectUIAnimation = UIManager.Instance.CreatSUIObj <SkeletonAnimation>("OverSpine01"); gameEffectUIAnimationHint = UIManager.Instance.CreatSUIObj <SkeletonAnimation>("OverSpine02"); BossUIController = UIManager.Instance.GetUI <BossUIController>("BossHP"); }
void Awake() { Instance = this; }