⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    SurfaceFootstepAudioSystem MonoBehaviour

    Overview

    The SurfaceFootstepAudioSystem behaviour is attached to the root of the character alongside the MotionController. This component handles the playing of footstep audio based on the surface the character is walking on. It can be controlled from the motion graph using the SurfaceFootstepAudioBehaviour. The advantage of using a component on the character instead of directly handling footsteps from within the motion graph is that it provides a central point for any behaviours on the character to access, and will fire the onFootStep(FpsSurfaceMaterial surface) C# event on each step.

    Inspector

    SurfaceFootstepAudioSystem

    Properties

    The SurfaceFootstepAudioSystem behaviour has no properties exposed in the inspector.


    See Also

    MotionController

    Back to top Copyright © 2019 Yondernauts Game Studios Ltd
    Generated with DocFX