Esempio n. 1
0
 void TruckLoaded(object sender, TruckLoadedEventArgs args)
 {
     RockDisplayModel.gameObject.SetActive(true);
 }
Esempio n. 2
0
 void WasLoaded(object sender, TruckLoadedEventArgs args)
 {
     ServiceLocator.GetVoiceoverService().PlayRockFallsSound(CurrentRockRelativeLevel);
     Animator.Play(LoadedAnimHash, RockLayer, 0);
 }
Esempio n. 3
0
 void WasLoaded(object sender, TruckLoadedEventArgs args)
 {
     CurrentDecelerationSpeed = 0;
     ServiceLocator.GetVoiceoverService().FadeOutSound(SoundType.TruckEngineNeutral);
     ServiceLocator.GetVoiceoverService().PlaySound(SoundType.TruckMovingNormal, .2f);
 }