void Awake() { instance = this; GameObject.DontDestroyOnLoad(GameObject.Find("Main")); //ApplicationFacade.GetInstance().Init(); //ApplicationFacade.GetInstance().SendNotification(EventName.GameStart,); UIManager.GetInstance().Init(); LevelManager.GetInstance().Init(); ResManager.GetInstance().Init(LoadResources ? ResLoadType.LoadByResources : ResLoadType.LoadByAssetsBundle); SceneObjManager.GetInstance().Init(); //CoroutineManager.GetInstance().Init(); }
void Update() { //Debug.Log("Update"); SceneObjManager.GetInstance().Update(); }