コード例 #1
0
 protected void AllEventDispatch(string eventName, IInputEventBase inputEvent)
 {
     if (m_OnAllEventDispatch != null)
     {
         try
         {
             m_OnAllEventDispatch(eventName, inputEvent);
         }
         catch (Exception e)
         {
             Debug.LogError("AllEventDispatch name: " + eventName + " key: " + inputEvent.EventKey + " Exception:" + e.ToString());
         }
     }
 }
コード例 #2
0
 public override void Dispatch(IInputEventBase inputEvent)
 {
     Dispatch((Event)inputEvent);
 }
コード例 #3
0
 public abstract void Dispatch(IInputEventBase inputEvent);
コード例 #4
0
        public static void Dispatch(string eventName, IInputEventBase inputEvent)
        {
            IInputDispatcher dispatcher = GetDispatcher("VFramework.Common." + eventName);

            dispatcher.Dispatch(inputEvent);
        }