Exemple #1
0
        public void Register <T>(Action <T> onReceive)
        {
            TypeEventSystem.Register <T>(onReceive);

            mUnRegisterEventActions.Add(() =>
            {
                TypeEventSystem.UnRegister <T>(onReceive);
            });
        }
Exemple #2
0
 public void UnRegister <T>(Action <T> onReceive)
 {
     TypeEventSystem.UnRegister <T>(onReceive);
 }
Exemple #3
0
 public void Send <T>(T eventKey)
 {
     TypeEventSystem.Send <T>(eventKey);
 }