Afterglow.Input.ButtonAction.WasPressed C# (CSharp) Method

WasPressed() public method

The action will be triggered if the button was pressed.
public WasPressed ( ) : IButtonAction
return IButtonAction
        public IButtonAction WasPressed()
        {
            State = ButtonState.WasPressed;
            return this;
        }