프로퍼티 | 타입 | 설명 | |
---|---|---|---|
AndroidAxisNames | string[] | ||
AndroidButtonNames | string[] | ||
AxisNames | string[] | ||
ButtonNames | string[] | ||
DefaultButtonIds | int[] | ||
DesktopAxisNames | string[] | ||
DesktopButtonNames | string[] | ||
ReadAxis | ReadAxisDelegate | ||
ReadButton | ReadButtonDelegate |
메소드 | 설명 | |
---|---|---|
DefaultReadAxis ( Axis, axis ) : float |
GPC_GetAxis The default delegate for retrieving axis info.
|
|
DefaultReadButton ( Button, button ) : bool |
Uses XInput to check if the given Button is down.
|
|
GPC_Destroy ( ) : bool |
GPC_Destroy
|
|
GPC_GetAxis ( Axis, axis ) : float |
Returns the current value of the given Axis.
|
|
GPC_GetButton ( Button, button ) : bool |
Returns true if the given Button is down.
|
|
GPC_GetButtonDown ( Button, button ) : bool |
Returns true if the given Button was pressed this frame.
|
|
GPC_GetButtonUp ( Button, button ) : bool |
Returns true if the given Button was released this frame.
|
|
GPC_Initialize ( ) : bool |
GPC_Initialize.
|
|
GPC_IsAvailable ( ) : bool |
Returns true if the gamepad controller is available.
|
|
GPC_Test ( ) : void | ||
GPC_Update ( ) : bool |
GPC_Update
|
|
LateUpdate ( ) : void | ||
OnDestroy ( ) : void | ||
SetAxisNames ( string axisNames ) : void |
Sets the current names for all gamepad axes.
|
|
SetButtonNames ( string buttonNames ) : void |
Sets the current Unity input names for all gamepad buttons.
|
|
SetReadAxisDelegate ( ReadAxisDelegate del ) : void | ||
SetReadButtonDelegate ( ReadButtonDelegate del ) : void | ||
Start ( ) : void | ||
Update ( ) : void |
메소드 | 설명 | |
---|---|---|
GPC_LateUpdate ( ) : void | ||
OVRGamepadController ( ) : System | ||
OVR_GamepadController_Destroy ( ) : bool | ||
OVR_GamepadController_GetAxis ( int axis ) : float | ||
OVR_GamepadController_GetButton ( int button ) : bool | ||
OVR_GamepadController_Initialize ( ) : bool | ||
OVR_GamepadController_Update ( ) : bool |
public static DefaultReadAxis ( Axis, axis ) : float | ||
axis | Axis, | Axis. |
리턴 | float |
public static DefaultReadButton ( Button, button ) : bool | ||
button | Button, | |
리턴 | bool |
public static GPC_GetButton ( Button, button ) : bool | ||
button | Button, | |
리턴 | bool |
public static GPC_GetButtonDown ( Button, button ) : bool | ||
button | Button, | |
리턴 | bool |
public static GPC_GetButtonUp ( Button, button ) : bool | ||
button | Button, | |
리턴 | bool |
public static SetAxisNames ( string axisNames ) : void | ||
axisNames | string | |
리턴 | void |
public static SetButtonNames ( string buttonNames ) : void | ||
buttonNames | string | Button names. |
리턴 | void |
public static SetReadAxisDelegate ( ReadAxisDelegate del ) : void | ||
del | ReadAxisDelegate | |
리턴 | void |
public static SetReadButtonDelegate ( ReadButtonDelegate del ) : void | ||
del | ReadButtonDelegate | |
리턴 | void |