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

Detailed Description

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

Author
Stephen Nuttall

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.
 

Member Function Documentation

◆ PlayDefaultFootstep()

void PlayFootstepSFX.PlayDefaultFootstep ( )

Plays a normal footstep sound, as opposed to a footstep sound for a jump or other impact.

Member Data Documentation

◆ groundDetector

GroundDetector PlayFootstepSFX.groundDetector
private

Reference to the ground detector, which is used to get the footstep sound should be played.


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