Handles object collision with the boomerang. If the boomerang hits the other player, notify the boomerang object it has hit a player. If the boomerang hits Schmitty Doop, notifiy the boomerang that the Schmitty Doop is inside the boomerang.
More...
Handles object collision with the boomerang. If the boomerang hits the other player, notify the boomerang object it has hit a player. If the boomerang hits Schmitty Doop, notifiy the boomerang that the Schmitty Doop is inside the boomerang.
◆ OnTriggerEnter2D()
void CoopBoomerangTrigger.OnTriggerEnter2D |
( |
Collider2D |
collision | ) |
|
◆ OnTriggerExit2D()
void CoopBoomerangTrigger.OnTriggerExit2D |
( |
Collider2D |
collision | ) |
|
◆ boomerang
The boomerang that the colliders belong to.
The documentation for this class was generated from the following file: