C# Class PlayerRumbleController, goalBall

This script will apply a rumble when you collide with an object with a tag.
Inheritance: MonoBehaviour
Datei anzeigen Open project: DrexelGoalBall/goalBall

Public Properties

Property Type Description
BallString string
BallTime float
WallString string
WallTime float
rumbleBall float
rumbleBallNear float
rumbleWall float

Public Methods

Method Description
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

Method Details

OnCollisionEnter() public method

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

Start() public method

public Start ( ) : void
return void

Update() public method

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

Property Details

BallString public_oe property

public string BallString
return string

BallTime public_oe property

public float BallTime
return float

WallString public_oe property

public string WallString
return string

WallTime public_oe property

public float WallTime
return float

rumbleBall public_oe property

public float rumbleBall
return float

rumbleBallNear public_oe property

public float rumbleBallNear
return float

rumbleWall public_oe property

public float rumbleWall
return float