Exemple #1
0
 public void StopEngine(NodeRemoveEvent evt, TankEngineSoundEffectReadyNode tank)
 {
     tank.tankEngineSoundEffect.SoundEngineController.Stop();
 }
Exemple #2
0
 public void UpdateEngine(UpdateEvent evt, TankEngineSoundEffectReadyNode tank)
 {
     tank.tankEngineSoundEffect.SoundEngineController.InputRpmFactor = tank.tankEngine.Value;
 }
Exemple #3
0
 public void StartEngine(NodeAddedEvent evt, TankEngineSoundEffectReadyNode tank)
 {
     tank.tankEngineSoundEffect.SoundEngineController.Play();
 }