示例#1
0
文件: Gun.cs 项目: noc7c9/code-red-II
 void Start()
 {
     muzzleFlash                  = GetComponent <MuzzleFlash>();
     shotsRemainingInBurst        = stats.burstCount;
     nextShotTime                 = Time.time;
     triggerReleasedSinceLastShot = true;
 }
示例#2
0
 void Start()
 {
     muzzleFlash                  = GetComponent <MuzzleFlash>();
     shotsRemainingInBurst        = burstCount;
     projectilesRemainingInMag    = projectilesPerMag;
     nextShotTime                 = Time.time;
     triggerReleasedSinceLastShot = true;
 }