Esempio n. 1
0
 public void _KillVatnikEnemy(VatnikEnemy _enemy)
 {
     GameObject _clone = Instantiate(_enemy.deathParticles, _enemy.transform.position, Quaternion.identity) as GameObject;
     Destroy(_clone, 5f);
     //	cameraShake.Shake(_enemy.shakeAmt, _enemy.shakeLength);
     Destroy(_enemy.gameObject);
 }
Esempio n. 2
0
 public static void KillVatnikEnemy(VatnikEnemy enemy)
 {
     gm._KillVatnikEnemy(enemy);
     gm.StartCoroutine(gm._RespawnVatnikEnemy());
 }