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

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

            ManagerUpdate.Clear();
            GlobalSystemStorage.StopProcessings();
            Group.Clear();
            initialized = false;
        }
Exemple #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);
        }
Exemple #4
0
        void ClearSceneOnQuit()
        {
            if (!initialized)
            {
                return;
            }

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