프로퍼티 | 타입 | 설명 | |
---|---|---|---|
ballTag | string | ||
fouls | Fouls, |
메소드 | 설명 | |
---|---|---|
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.
|