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

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