void HandleTogglePlayEvent(TogglePlayEvent e)
 {
     if (Player != null)
     {
         if (e.Playing)
         {
             Player.Play();
         }
         else
         {
             Player.Pause();
         }
     }
 }
 void HandleTogglePlayEvent(TogglePlayEvent e)
 {
     if (e.Playing) {
         mainCamPlayerVM.Play ();
     } else {
         Pause ();
     }
 }
示例#3
0
 void HandleTogglePlayEvent(TogglePlayEvent e)
 {
     if (Player != null) {
         if (e.Playing) {
             Player.Play ();
         } else {
             Player.Pause ();
         }
     }
 }