Ejemplo n.º 1
0
 public void AddEventListenerTarget(IGameEvent target, Enum type, GameEventHandler handler, bool isUseOnce = false, bool isFirst = false)
 {
     mListenerEventList.Push(new ViewListenerEventInfo()
     {
         handler = handler,
         type    = type,
         target  = target
     });
     target.AddEvent(type, handler, isUseOnce, isFirst);
 }