コード例 #1
0
 // Turn off immediate
 //
 private void LaserOff(bool bPlayAudio = true)
 {
     if (bPlayAudio)
     {
         m_gcAudioManager.PlayAudioAtLocation(transform.position, EGameSFX._SFX_NPC_LASERFIRE1);
     }
     m_goLaser.SetActive(false);
     m_gcRenderer.material = m_InactiveMat;
     m_fNextEventTime      = TimerManager.fGameTime + m_fLaserInactiveTime;
 }