Exemple #1
0
        public static void RemoveEventListener(DSC_InputEventType eEvent, UnityAction <GameInputData> hAction)
        {
            if (m_hBaseInstance == null)
            {
                return;
            }

            m_hBaseInstance.MainRemoveEventListener(eEvent, hAction);
        }
Exemple #2
0
        public static void AddEventListener(DSC_InputEventType eEvent, UnityAction <GameInputData> hAction)
        {
            if (!HasBaseInstance())
            {
                return;
            }

            m_hBaseInstance.MainAddEventListener(eEvent, hAction);
        }
Exemple #3
0
 void MainRemoveEventListener(DSC_InputEventType eEvent, UnityAction <GameInputData> hAction)
 {
     inputEvent?.Remove(eEvent, hAction);
 }
Exemple #4
0
 void MainAddEventListener(DSC_InputEventType eEvent, UnityAction <GameInputData> hAction)
 {
     inputEvent?.Add(eEvent, hAction);
 }