![]() |
Eye of the Nile Docs
Everything you need to know to get started!
|
Script for the falling spike hazard. When a player enters the trigger zone beneath the falling spike, it will unfreeze the spike's gravity.
Documentation updated 8/26/2024
Private Member Functions | |
void | OnTriggerEnter2D (Collider2D col) |
When a player enters the trigger zone beneath the falling spike, unfreeze the spike's gravity. | |
|
private |
When a player enters the trigger zone beneath the falling spike, unfreeze the spike's gravity.
col | Represents the object that entered the trigger zone. |