Modular First Person Player 1.0.2.7
Loading...
Searching...
No Matches
MFPP.FootstepAsset.Data Class Reference

Public Member Functions

AudioClip GetRandomFootstep ()
 Gets a random footstep sound from this Data.
 
AudioClip GetRandomJumping ()
 Gets a random jumping sound from this Data.
 
AudioClip GetRandomLanding ()
 Gets a random landing sound from this Data.
 
float GetRandomPitch ()
 Gets a random pitch from this Data.
 

Protected Attributes

string name
 
List< Material > linkedMaterials
 
List< Texture > linkedTextures
 
List< AudioClip > footstepClips
 
List< AudioClip > jumpingClips
 
List< AudioClip > landingClips
 

Properties

string Name [get, set]
 The name of the footstep data.
 
List< Material > LinkedMaterials [get, set]
 Linked materials for this footstep data.
 
List< Texture > LinkedTextures [get, set]
 Linked textures for this footstep data.
 
List< AudioClip > FootstepClips [get, set]
 Footstep sounds.
 
List< AudioClip > JumpingClips [get, set]
 Jumping sounds.
 
List< AudioClip > LandingClips [get, set]
 Landing sounds.
 
float MinPitch [get, set]
 Minimum random pitch of a footstep.
 
float MaxPitch [get, set]
 Maximum random pitch of a footstep.
 

Member Function Documentation

◆ GetRandomFootstep()

AudioClip MFPP.FootstepAsset.Data.GetRandomFootstep ( )

Gets a random footstep sound from this Data.

Returns
A random footstep sound from this Data.

◆ GetRandomJumping()

AudioClip MFPP.FootstepAsset.Data.GetRandomJumping ( )

Gets a random jumping sound from this Data.

Returns
A random jumping sound from this Data.

◆ GetRandomLanding()

AudioClip MFPP.FootstepAsset.Data.GetRandomLanding ( )

Gets a random landing sound from this Data.

Returns
A random landing sound from this Data.

◆ GetRandomPitch()

float MFPP.FootstepAsset.Data.GetRandomPitch ( )

Gets a random pitch from this Data.

Returns
A random pitch from this Data.

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