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