Beispiel #1
0
 private void UnReigsterEvents()
 {
     if (!_register_flag)
     {
         return;
     }
     _register_flag = false;
     GameEventSystem ges = GameEventSystem.Instance;
 }
Beispiel #2
0
        public void OnDisable()
        {
            GameEventSystem ges = GameEventSystem.Instance;

            ges.UnRegisterHandler(E_GLOBAL_EVT.camera_set_player, _on_camera_set_player);
            ges.RegisterHandler(E_GLOBAL_EVT.camera_remove_player, _on_camera_remove_player);

            ges.UnRegisterHandler(E_GLOBAL_EVT.camera_source_add, _on_add_source);
        }
Beispiel #3
0
        private void ReigsterEvents()
        {
            if (_register_flag)
            {
                return;
            }
            _register_flag = true;

            GameEventSystem ges = GameEventSystem.Instance;
        }