Example #1
0
        public void OnInit()
        {
            RegisterInterfaceManager.RegisteUpdate(this);

            stateControl.RegisterState <GameStateCheckUpdate>(STATE_CHECK_UPDATE);
            stateControl.RegisterState <GameStateInitialConfig>(STATE_INITIAL_CONFIG);
            stateControl.RegisterState <GameStateStart>(STATE_START);

            SetActiveState(GameStateManager.STATE_CHECK_UPDATE);
        }
Example #2
0
 public void OnRelease()
 {
     RegisterInterfaceManager.UnRegisteUpdate(this);
 }
Example #3
0
 private void OnDestroy()
 {
     RegisterInterfaceManager.OnRelease();
 }
Example #4
0
 private void FixedUpdate()
 {
     RegisterInterfaceManager.FixUpdate();
 }
Example #5
0
 private void LateUpdate()
 {
     RegisterInterfaceManager.LateUpdate(Time.deltaTime);
 }
Example #6
0
        private void Start()
        {
            RegisterInterfaceManager.RegisteIInit(QLog.Instance);

            RegisterInterfaceManager.RegisteIInit(GameStateManager.Instance);
        }