Example #1
0
 public void PlayImpactEffects(Health health, GameObject proj, ScoreboardMgr scoreboard, int playerOwner)
 {
     Destroy(proj);
     if (!isBeingTagged){
         health.AnimatePreDeath();
         StartCoroutine(SlowTime(health, proj));
         StartCoroutine(PlusOnePointEffect(health.gameObject, scoreboard, playerOwner));
     }
 }