コード例 #1
0
ファイル: PlayerSimpleGun.cs プロジェクト: scythae/Shmup
 protected override void AddComponentsToBullet(GameObject bullet)
 {
     base.AddComponentsToBullet(bullet);
     DamageSource.AddToGameObject <DS_Bullet> (bullet, this.damage, UnitSide.usEnemy);
     PlaySound.BulletShot();
 }