Example #1
0
 public InputAction(ScriptableKeybind _key, Action _downEvent, Action _event, Action _upEvent)
 {
     Keybind        = _key;
     m_keyEvent     = _event;
     m_keyUpEvent   = _upEvent;
     m_keyDownEvent = _downEvent;
 }
Example #2
0
 public InputAction(ScriptableKeybind _key, Action _event)
     : this(_key, null, _event, null)
 {
 }
Example #3
0
        /*
         * Public Functions.
         */

        public InputAction(ScriptableKeybind _key, Action _downEvent, Action _upEvent)
            : this(_key, _downEvent, null, _upEvent)
        {
        }