예제 #1
0
 public static void CreatePlayerController()
 {
     _instance = new PlayerController();
 }
예제 #2
0
 /// <summary>
 /// Назначить контроллер показа
 /// </summary>
 /// <param name="ctrl">Контроллер</param>
 public void AssignPlayerController(PlayerController ctrl)
 {
     m_PlayerController = ctrl;
 }
예제 #3
0
 public void Dispose()
 {
     if (PresentationController.Instance != null)
     {
         PresentationController.Instance.OnSlideSelectionChanged -= Instance_OnSlideSelectionChanged;
         PresentationController.Instance.OnSlideChangedExternally -= Instance_OnSlideChangedExternally;
     }
     if (ShowClient.Instance != null)
         ShowClient.Instance.OnGoToSlide -= Instance_OnGoToSlide;
     _instance = null;
 }