Exemple #1
0
 public override void OnPickupUseDown()
 {
     gun.Fire();
     if (onFireTarget != null)
     {
         onFireTarget.SendCustomEvent(onFireEvent);
     }
     if (onReadyTarget != null)
     {
         onReadyTarget.SendCustomEventDelayedSeconds(onReadyEvent, gun.GetIntervalSeconds());
     }
 }