Property | Type | Description | |
---|---|---|---|
ballTag | string | ||
fouls | Fouls, |
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.
|
public OnCollisionEnter ( Collision col ) : void | ||
col | Collision | |
return | void |
public OnTriggerEnter ( Collider col ) : void | ||
col | Collider | |
return | void |