Exemple #1
0
 public virtual void unreadyOne(HitDelegate hitdeleg)
 {
     weapon.unready(hitdeleg);
 }
Exemple #2
0
 public virtual void unready(HitDelegate eventHandler)
 {
     HitEvent -= eventHandler;
 }
Exemple #3
0
 public override void unready(HitDelegate eventHandler)
 {
     ((MeleeWeapon)this).HitEvent -= eventHandler;
 }
Exemple #4
0
 public override void unreadyOne(HitDelegate hitdeleg)
 {
     rifle.unready(hitdeleg);
 }
Exemple #5
0
 public override void unreadyOne(HitDelegate hitdeleg)
 {
     meleeWep.unready(hitdeleg);
 }
Exemple #6
0
 public override void unready(HitDelegate eventHandler)
 {
     ((Firearm)this).HitEvent -= eventHandler;
 }
Exemple #7
0
 public override void unready(HitDelegate eventHandler)
 {
     ((AutoRifle)this).HitEvent -= eventHandler;
 }
Exemple #8
0
 private void KnockDownCollect(HitDelegate hitDelegate, float velocity, float force, float vertex, float dir, GameObject targetObject)
 {
     CoroutineHandler.instance.StartCoroutine(hitDelegate(velocity, force, vertex, dir, targetObject));
 }
 private void Awake()
 {
     onHit = null;
 }