Esempio n. 1
0
 public void StartOptixMovementEffect(NodeAddedEvent evt, ShaftAimingWorkingStateSoundEffectNode weapon)
 {
     if (weapon.shaftAimingOptixMovementSoundEffect != null)
     {
         weapon.shaftAimingOptixMovementSoundEffect.Play();
     }
 }
Esempio n. 2
0
 public void StopOptixMovementEffect(NodeRemoveEvent evt, ShaftAimingWorkingStateSoundEffectNode weapon)
 {
     if (weapon.shaftAimingOptixMovementSoundEffect != null)
     {
         weapon.shaftAimingOptixMovementSoundEffect.Stop();
     }
 }