C# Class PlayerRumbleController, goalBall

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

Méthodes publiques

Свойство Type Description
BallString string
BallTime float
WallString string
WallTime float
rumbleBall float
rumbleBallNear float
rumbleWall float

Méthodes publiques

Méthode 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 méthode

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

Start() public méthode

public Start ( ) : void
Résultat void

Update() public méthode

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

Property Details

BallString public_oe property

public string BallString
Résultat string

BallTime public_oe property

public float BallTime
Résultat float

WallString public_oe property

public string WallString
Résultat string

WallTime public_oe property

public float WallTime
Résultat float

rumbleBall public_oe property

public float rumbleBall
Résultat float

rumbleBallNear public_oe property

public float rumbleBallNear
Résultat float

rumbleWall public_oe property

public float rumbleWall
Résultat float