Eye of the Nile Docs
Everything you need to know to get started!
Loading...
Searching...
No Matches
FallingSpike Class Reference

Detailed Description

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

Author
Stephen Nuttall

Private Member Functions

void OnTriggerEnter2D (Collider2D col)
 When a player enters the trigger zone beneath the falling spike, unfreeze the spike's gravity.
 

Member Function Documentation

◆ OnTriggerEnter2D()

void FallingSpike.OnTriggerEnter2D ( Collider2D col)
private

When a player enters the trigger zone beneath the falling spike, unfreeze the spike's gravity.

Parameters
colRepresents the object that entered the trigger zone.

The documentation for this class was generated from the following file: