Пример #1
0
 private void OnUnitPicked(int unitId, PickupItem item)
 {
     ExplosionManager.Play(item.transform.position, ExplosionEffectType.ItemPickUp);
 }
Пример #2
0
 private void OnBulletStarted(IBullet bullet)
 {
     ExplosionManager.Play(bullet.Pos, ExplosionEffectType.GunShoot);
 }
Пример #3
0
 private void OnTankDied(ITank tank)
 {
     ExplosionManager.Play(tank.Pos, ExplosionEffectType.TankExplosion);
 }
Пример #4
0
 private void OnBulletHidded(Collider target, IBullet bullet)
 {
     ExplosionManager.Play(bullet.Pos, ExplosionEffectType.BulletExplosion);
 }