예제 #1
0
 private void InputManager_Update_MouseEvents(On.InputManager.orig_Update_MouseEvents orig, InputManager self)
 {
     if (HasFlag(State.Playing) && !HasFlag(State.Pausing))
     {
         InputManagerHooks.Update_MouseEvents(self);
     }
     orig(self);
 }
예제 #2
0
 private void InputManager_TriggerClickDownEvent(On.InputManager.orig_TriggerClickDownEvent orig, InputManager self, string eventName, ref List <ClickDownInfo> clickInfosContainer)
 {
     if (HasFlag(State.Playing) && !HasFlag(State.Pausing))
     {
         InputManagerHooks.TriggerClickDownEvent(self, eventName, ref clickInfosContainer);
         return;
     }
     orig(self, eventName, ref clickInfosContainer);
 }