class InputAction

in global :: Sandbox

An input action defined by a game project.


public string Name { get; set; }

The name of the input action. Used by Input.Down|Pressed|Released.

public string GroupName { get; set; }

A group name for this input when showing in a binding system

public string Title { get; set; }

A friendly name for this input action when showing in a binding system

public string KeyboardCode { get; set; }

The key or key combo we'll be watching for.

public GamepadCode GamepadCode { get; set; }

What gamepad button should this action map to?

public Type GetType( )

😔 No documentation found.

public string ToString( )

😔 No documentation found.

public bool Equals( object obj )

😔 No documentation found.

public int GetHashCode( )

😔 No documentation found.

public InputAction( string name, string keyboardCode, GamepadCode gamepadCode = None, string groupName = Other, string title = null )

😔 No documentation found.

public InputAction( )

😔 No documentation found.

public InputAction( InputAction other )

😔 No documentation found.