MrGravity.KeyboardControl.IsUpPressed C# (CSharp) Méthode

IsUpPressed() public méthode

Checks to see if the control for Up has been interacted with Only work when the button has just been pushed
public IsUpPressed ( bool held ) : bool
held bool Set true if this button is allowed to be held down and still respond to interaction
Résultat bool
        public bool IsUpPressed(bool held)
        {
            return IsPressed(Keys.Up, held);
        }