메소드 | 설명 | |
---|---|---|
FixedUpdate ( ) : void |
Must be called each frame to ensure accurate reading of *(Down|Up)
|
|
GetBumper ( uint bumper ) : bool |
Returns true while the specified /bumper/ is held down.
|
|
GetBumperDown ( uint bumper ) : bool |
Returns true during the frame the user pressed the given /bumper/.
|
|
GetBumperUp ( uint bumper ) : bool |
Returns true during the frame the user released the given /bumper/.
|
|
GetButton ( uint button ) : bool |
Returns true while the specified /button/ is held down.
|
|
GetButtonDown ( uint button ) : bool |
Returns true during the frame the user pressed the given /button/.
|
|
GetButtonUp ( uint button ) : bool |
Returns true during the frame the user released the given /button/.
|
|
GetDPad ( uint direction ) : bool |
Returns true while the specified /direction/ is held down.
|
|
GetDPadDown ( uint direction ) : bool |
Returns true during the frame the user pressed the given /direction/.
|
|
GetDPadUp ( uint direction ) : bool |
Returns true during the frame the user released the given /direction/.
|
|
GetStick ( uint stick ) : Vector2 |
Returns the values of the axes of the specified /stick/.
|
|
GetTrigger ( uint trigger ) : bool |
Returns true if the specified /trigger/ is fully pressed.
|
|
GetTriggerDown ( uint trigger ) : bool |
Returns true during the frame the user fully pressed the given /trigger/.
|
|
GetTriggerUp ( uint trigger ) : bool |
Returns true during the frame the user fully released the given /trigger/.
|
|
IsConnected ( ) : bool |
Returns true if a controller is connected.
|
|
vibrate ( uint motor, float intensity ) : void |
Sets the vibration intensity (0f-1f) of the motor specified by /motor/.
|
public vibrate ( uint motor, float intensity ) : void | ||
motor | uint | |
intensity | float | |
리턴 | void |