Ejemplo n.º 1
0
 public void CallEventItemPickUp(float time, string name)
 {
     if (ItemPickUpEvent != null)
     {
         foreach (DelayEventWithName handler in ItemPickUpEvent.GetInvocationList())
         {
             StartCoroutine(handler.Invoke(time, name));
         }
     }
 }
Ejemplo n.º 2
0
 public void OnEnable()
 {
     iEvent = GetComponent(typeof(ItemPickUpEvent)) as ItemPickUpEvent;
 }