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); }
protected virtual void ReleaseControl(InputButton inputButton) { inputButton.ReleaseControl(); }
protected virtual void GainControl(InputButton inputButton) { inputButton.GainControl(); }