Beispiel #1
0
    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();
    }
Beispiel #2
0
 void Update()
 {
     //Debug.Log("Update");
     SceneObjManager.GetInstance().Update();
 }