Exemple #1
0
 public void AddHandler(DuelEvent e, DuelEventHandler handler, GameObject obj)
 {
     val++;
     objDic.Add(handler, obj);
     handlerList[(int)e].Add(handler);
 }
Exemple #2
0
 protected void AddHandler(DuelEvent val, DuelEventHandler handler)
 {
     eventSys.AddHandler(val, handler, gameObject);
     dic.Add(val, handler);
 }
Exemple #3
0
 public void DeleteHandler(DuelEvent e, DuelEventHandler handler)
 {
     val--;
     handlerList[(int)e].Remove(handler);
 }