C# Class LineTrigger, goalBall

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

Public Properties

Property Type Description
ballTag string
fouls Fouls,

Public Methods

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

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

OnTriggerEnter() public method

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

Property Details

ballTag public_oe property

public string ballTag
return string

fouls public_oe property

public Fouls, fouls
return Fouls,