Beispiel #1
0
 protected override void RunBeforeAwake()
 {
     isLuaController = true;
     isEnable        = true;
     //EventSender.onEvent += OnEvent;
     EventSender.Registere(this);
 }
Beispiel #2
0
 void OnDestroy()
 {
     EventSender.Remove(this);
     //EventSender.onEvent -= OnEvent;
     base.OnDestroy();
 }