示例#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);
 }