C# 클래스 RumbleController, goalBall

This class controls what happens when we need to make an XBOX controller Rumble
상속: MonoBehaviour
파일 보기 프로젝트 열기: DrexelGoalBall/goalBall 1 사용 예제들

공개 메소드들

메소드 설명
BasicRumble ( float t, float lS, float rS ) : void

Rumble the controller with the following parameters

RumbleBursts ( int bursts, float lS, float rS ) : void

This function allows for bursts of Vibration

비공개 메소드들

메소드 설명
RumbleAfterDelay ( float delay, float t, float lS, float rS ) : IEnumerator

Coroutine made to have short rumbles over time.

Update ( ) : void

Controls the vibration of the player one controller. When the above variables update it will rumble accordingly.

VibrateForJoystickType ( Joystick, joystick, float lS, float rS ) : void

Execute the correct vibration method for the type of joystick

메소드 상세

BasicRumble() 공개 메소드

Rumble the controller with the following parameters
public BasicRumble ( float t, float lS, float rS ) : void
t float How long with the rumble last
lS float The left strength of the rumble
rS float the right strength of the rumble.
리턴 void

RumbleBursts() 공개 메소드

This function allows for bursts of Vibration
public RumbleBursts ( int bursts, float lS, float rS ) : void
bursts int
lS float
rS float
리턴 void