C# 클래스 PlayerRumbleController, goalBall

This script will apply a rumble when you collide with an object with a tag.
상속: MonoBehaviour
파일 보기 프로젝트 열기: DrexelGoalBall/goalBall

공개 프로퍼티들

프로퍼티 타입 설명
BallString string
BallTime float
WallString string
WallTime float
rumbleBall float
rumbleBallNear float
rumbleWall float

공개 메소드들

메소드 설명
OnCollisionEnter ( Collision col ) : void

Detect when the player enters a trigger with the tag collideString and Activates the Rumble Function.

Start ( ) : void
Update ( ) : void

When the ball is close enought to the player to pick up, vibrate slightly

메소드 상세

OnCollisionEnter() 공개 메소드

Detect when the player enters a trigger with the tag collideString and Activates the Rumble Function.
public OnCollisionEnter ( Collision col ) : void
col Collision
리턴 void

Start() 공개 메소드

public Start ( ) : void
리턴 void

Update() 공개 메소드

When the ball is close enought to the player to pick up, vibrate slightly
public Update ( ) : void
리턴 void

프로퍼티 상세

BallString 공개적으로 프로퍼티

public string BallString
리턴 string

BallTime 공개적으로 프로퍼티

public float BallTime
리턴 float

WallString 공개적으로 프로퍼티

public string WallString
리턴 string

WallTime 공개적으로 프로퍼티

public float WallTime
리턴 float

rumbleBall 공개적으로 프로퍼티

public float rumbleBall
리턴 float

rumbleBallNear 공개적으로 프로퍼티

public float rumbleBallNear
리턴 float

rumbleWall 공개적으로 프로퍼티

public float rumbleWall
리턴 float