C# Class InputController.JoystickButton

Inheritance: ButtonSource
显示文件 Open project: 3dAnon/PoniGame

Public Properties

Property Type Description
m_button GamepadButton

Public Methods

Method Description
GetButtonValue ( GamepadButton button ) : bool
IsDown ( ) : bool
JoystickButton ( GamepadButton button ) : UnityEngine

Private Methods

Method Description
OverThreshold ( GamepadAxis axis, float threshold ) : bool

Method Details

GetButtonValue() public static method

public static GetButtonValue ( GamepadButton button ) : bool
button GamepadButton
return bool

IsDown() public method

public IsDown ( ) : bool
return bool

JoystickButton() public method

public JoystickButton ( GamepadButton button ) : UnityEngine
button GamepadButton
return UnityEngine

Property Details

m_button public_oe property

public GamepadButton m_button
return GamepadButton