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

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

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