Example #1
0
        public override bool GetButtonUp(string buttonName)
        {
            bool        isDown = false;
            InputButton button = FindButton(buttonName);

            if (button != null)
            {
                if (CanExecute() || button.allowedStateOverride != 0)
                {
                    isDown = button.GetButtonUp(PlayerId);
                }
            }

            return(isDown);
        }
Example #2
0
 protected virtual void ReleaseControl(InputButton inputButton)
 {
     inputButton.ReleaseControl();
 }
Example #3
0
 protected virtual void GainControl(InputButton inputButton)
 {
     inputButton.GainControl();
 }