コード例 #1
0
ファイル: Gun.cs プロジェクト: noc7c9/code-red-II
 void Start()
 {
     muzzleFlash                  = GetComponent <MuzzleFlash>();
     shotsRemainingInBurst        = stats.burstCount;
     nextShotTime                 = Time.time;
     triggerReleasedSinceLastShot = true;
 }
コード例 #2
0
ファイル: Gun.cs プロジェクト: noc7c9/the-digital-frontier
 void Start()
 {
     muzzleFlash                  = GetComponent <MuzzleFlash>();
     shotsRemainingInBurst        = burstCount;
     projectilesRemainingInMag    = projectilesPerMag;
     nextShotTime                 = Time.time;
     triggerReleasedSinceLastShot = true;
 }