Exemple #1
0
 public void PlayBell()
 {
     if (!_bell.IsPlaying())
     {
         _bell.Play();
     }
 }
Exemple #2
0
 public void PlaySteps()
 {
     if (StepsSpeed == 0.0f)
     {
         return;
     }
     if (_steps.IsPlaying())
     {
         if (_steps.GetNormalizedTimelinePosition() >= 1 - StepsSpeed)
         {
             _steps.Play();
         }
     }
     else
     {
         _steps.Play();
     }
 }