C# Class LineTrigger, goalBall

Line Trigger Throws a foul when a ball hits the out of bounds area.
Inheritance: MonoBehaviour
Afficher le fichier Open project: DrexelGoalBall/goalBall Class Usage Examples

Méthodes publiques

Свойство Type Description
ballTag string
fouls Fouls,

Méthodes publiques

Méthode Description
OnCollisionEnter ( Collision col ) : void

Detects when an object collides with the colider and contains the ballTag.

OnTriggerEnter ( Collider col ) : void

Detects when an object collides with the trigger and contains the ballTag.

Method Details

OnCollisionEnter() public méthode

Detects when an object collides with the colider and contains the ballTag.
public OnCollisionEnter ( Collision col ) : void
col Collision
Résultat void

OnTriggerEnter() public méthode

Detects when an object collides with the trigger and contains the ballTag.
public OnTriggerEnter ( Collider col ) : void
col Collider
Résultat void

Property Details

ballTag public_oe property

public string ballTag
Résultat string

fouls public_oe property

public Fouls, fouls
Résultat Fouls,