예제 #1
0
        void OnRebuild()
        {
            ManagerUpdate.Init();
            GlobalSystemStorage.Init();
            StarterSetup();
            initialized = true;

            GlobalSystemStorage.Instance.StartProcessings();
            Debug.LogWarning("Произошел ребилд. При возникновении багов, опишите проблему и обратитесь к разработчику");
        }
예제 #2
0
        void ClearScene()
        {
            if (!initialized)
            {
                return;
            }

            ManagerUpdate.Clear();
            GlobalSystemStorage.StopProcessings();
            Group.Clear();
            initialized = false;
        }
예제 #3
0
        private void Awake()
        {
            //initialized = false;
            //Debug.Log("initialized = " + initialized);
            ManagerUpdate.Init();
            GlobalSystemStorage.Init();
            StarterSetup();

            EntitiesInitializing();
            GlobalSystemStorage.Instance.StartProcessings();
            initialized = true;
            Debug.Log("initialized:   " + initialized);
        }
예제 #4
0
        void ClearSceneOnQuit()
        {
            if (!initialized)
            {
                return;
            }

            EntitiesDeinitializing();
            ManagerUpdate.Clear();
            GlobalSystemStorage.StopProcessings();
            Group.Clear();
            initialized = false;
        }