public void AssignController(PlayerEquipmentController ctrl)
 {
     m_Controller = ctrl;
     FillData();
     m_Controller.OnDeviceStateChanged += m_Controller_OnDeviceStateChanged;
     m_Controller.OnEquipmentFreezeChanged += m_Controller_OnEquipmentFreezeChanged;
     m_Controller.OnDeviceListChanged += m_Controller_OnDeviceListChanged;
 }
 public static void CreateController()
 {
     _instance = new PlayerEquipmentController();
 }
 public void Dispose()
 {
     if (ShowClient.Instance != null)
     {
         ShowClient.Instance.OnEquipmentStateChanged -= Instance_OnEquipmentStateChanged;
         ShowClient.Instance.OnEquipmentFreezeChanged -= Instance_OnEquipmentFreezeChanged;
     }
     if (PresentationController.Instance != null)
     {
         PresentationController.Instance.OnSlideSelectionChanged -= Instance_OnSlideSelectionChanged;
         PresentationController.Instance.OnPlaySelectionChanged -= Instance_OnPlaySelectionChanged;
     }
     _instance = null;
 }