Example #1
0
 public static void CreatePlayerController()
 {
     _instance = new PlayerController();
 }
 /// <summary>
 /// Назначить контроллер показа
 /// </summary>
 /// <param name="ctrl">Контроллер</param>
 public void AssignPlayerController(PlayerController ctrl)
 {
     m_PlayerController = ctrl;
 }
Example #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;
 }