![]() |
Eye of the Nile Docs
Everything you need to know to get started!
|
Attach this script to an object to play a footstep sound when the desired function is triggered. Typically, the desired function is played by the animation itself using an event in the animation. For example, Horus' walk animation has two frames which his foot touches the ground, at which an event is placed to call PlayDefaultFootstep().
Documentation updated 1/27/2025
Public Member Functions | |
void | PlayDefaultFootstep () |
Plays a normal footstep sound, as opposed to a footstep sound for a jump or other impact. | |
Private Attributes | |
GroundDetector | groundDetector |
Reference to the ground detector, which is used to get the footstep sound should be played. | |
void PlayFootstepSFX.PlayDefaultFootstep | ( | ) |
Plays a normal footstep sound, as opposed to a footstep sound for a jump or other impact.
|
private |
Reference to the ground detector, which is used to get the footstep sound should be played.