Platformer Pro  2.3.2
A platform game kit for Unity.
PlatformerPro.SoundEffectMapping Class Reference

Maps ainmation states to sound effects. More...

Public Attributes

AnimationState state
 The animation state. More...
 
SoundEffect soundEffect
 The sound effect. More...
 
float repeatInterval
 How often we should repeat this sound or 0 for a one shot. More...
 
LayerMask groundLayer
 Only play this animation if the ground layer is in the layer mask. Note that NOTHING means always match. More...
 
AnimationState previousState
 The required previous state. Use NONE to ignore previous state. More...
 

Detailed Description

Maps ainmation states to sound effects.

Member Data Documentation

◆ groundLayer

LayerMask PlatformerPro.SoundEffectMapping.groundLayer

Only play this animation if the ground layer is in the layer mask. Note that NOTHING means always match.

◆ previousState

AnimationState PlatformerPro.SoundEffectMapping.previousState

The required previous state. Use NONE to ignore previous state.

◆ repeatInterval

float PlatformerPro.SoundEffectMapping.repeatInterval

How often we should repeat this sound or 0 for a one shot.

◆ soundEffect

SoundEffect PlatformerPro.SoundEffectMapping.soundEffect

The sound effect.

◆ state

AnimationState PlatformerPro.SoundEffectMapping.state

The animation state.


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