Ejemplo n.º 1
0
 void OnMessageEvent(UEvent uEvent)
 {
     if (onEvent != null)
     {
         onEvent(new UEvent {
             eventType = uEvent.eventType, owner = this, sender = uEvent.sender, value = uEvent.value
         });
     }
 }
Ejemplo n.º 2
0
        void OnClick(UEvent uEvent)
        {
            var box = (UBaseMessageBox)uEvent.owner;

            StartCoroutine(workers[box.message.messageType].hider(box));
        }