Exemplo n.º 1
0
 public void NukeExplosion()
 {
     Utils.PlayOneShotPS(NukeExplodePrefab, transform.position, transform.rotation, null);
     DamageSystem.RadiusDamage(nukeMaxDamage, transform.position, nukeDetonateRadius, DamageType.Explosive, gameObject);
     gameObject.GetComponent <LiveMixin>().Kill(DamageType.Normal);
 }