public static void CreateInstance() { if (Instance != null) { Instance = new CoreStateManager(); } }
private void CreateAllInstance() { ResourceManager.CreateInstance(); TimerManager.CreateInstance(); CoreStateManager.CreateInstance(); timerManager = TimerManager.Instance; coreStateManager = CoreStateManager.Instance; }