Property | Type | Description | |
---|---|---|---|
m_AxixMaps | string>.Dictionary | ||
m_KeyCodeMaps | string>.Dictionary |
Method | Description | |
---|---|---|
AddAxisMap ( BaseController, axisId, string inputKey ) : void | ||
AddButtonMap ( BaseController, buttonId, string inputKey ) : void | ||
AddJoystickAxisMap ( BaseController axisId, int inputKey ) : void | ||
AddJoystickButtonMap ( BaseController buttonId, int inputKey ) : void | ||
GetAxis ( BaseController horizontalAxisId, BaseController verticalAxisId, float defaultValue = 0.0f ) : Vector2 | ||
GetAxis ( BaseController axisId, float defaultValue = 0.0f ) : float | ||
GetButton ( BaseController buttonId ) : bool | ||
GetButtonDown ( BaseController buttonId ) : bool | ||
GetButtonName ( BaseController buttonId ) : string | ||
GetButtonUp ( BaseController buttonId ) : bool | ||
GetDPad ( ) : Vector2 | ||
GetL2 ( ) : float | ||
GetLeftJoystick ( ) : Vector2 | ||
GetMotion ( ) : Vector2 | ||
GetR2 ( ) : float | ||
GetRightJoystick ( ) : Vector2 | ||
SetKeyMapping ( ) : void |
Method | Description | |
---|---|---|
GetAxisCode ( BaseController axisId ) : string | ||
GetKeyCode ( BaseController buttonId ) : string | ||
InvertAxis ( Vector2 axis, bool invertHorizontal, bool invertVertical ) : Vector2 | ||
InvertAxis ( float axis, bool invert ) : float | ||
IsPlatformOSX ( ) : bool |
public AddAxisMap ( BaseController, axisId, string inputKey ) : void | ||
axisId | BaseController, | |
inputKey | string | |
return | void |
public AddButtonMap ( BaseController, buttonId, string inputKey ) : void | ||
buttonId | BaseController, | |
inputKey | string | |
return | void |
public AddJoystickAxisMap ( BaseController axisId, int inputKey ) : void | ||
axisId | BaseController | |
inputKey | int | |
return | void |
public AddJoystickButtonMap ( BaseController buttonId, int inputKey ) : void | ||
buttonId | BaseController | |
inputKey | int | |
return | void |
public GetAxis ( BaseController horizontalAxisId, BaseController verticalAxisId, float defaultValue = 0.0f ) : Vector2 | ||
horizontalAxisId | BaseController | |
verticalAxisId | BaseController | |
defaultValue | float | |
return | Vector2 |
public GetAxis ( BaseController axisId, float defaultValue = 0.0f ) : float | ||
axisId | BaseController | |
defaultValue | float | |
return | float |
protected GetAxisCode ( BaseController axisId ) : string | ||
axisId | BaseController | |
return | string |
public GetButton ( BaseController buttonId ) : bool | ||
buttonId | BaseController | |
return | bool |
public GetButtonDown ( BaseController buttonId ) : bool | ||
buttonId | BaseController | |
return | bool |
public GetButtonName ( BaseController buttonId ) : string | ||
buttonId | BaseController | |
return | string |
public GetButtonUp ( BaseController buttonId ) : bool | ||
buttonId | BaseController | |
return | bool |
protected GetKeyCode ( BaseController buttonId ) : string | ||
buttonId | BaseController | |
return | string |
protected InvertAxis ( Vector2 axis, bool invertHorizontal, bool invertVertical ) : Vector2 | ||
axis | Vector2 | |
invertHorizontal | bool | |
invertVertical | bool | |
return | Vector2 |
protected InvertAxis ( float axis, bool invert ) : float | ||
axis | float | |
invert | bool | |
return | float |