⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    SurfaceManager ScriptableObject

    Overview

    The SurfaceManager scriptable object is a central manager that handles visual and audio impact effects with various surfaces. You can also override this on a scene by scene basis by using a SurfaceFxOverrides behaviour.

    Inspector

    SurfaceManager

    Properties

    Name Type Description
    Impact Effects SurfaceHitFxData The impact special effects for things like bullet hits.
    Impact Audio SurfaceAudioData The audio library for impact audio, eg. bullet hits.
    Scale Volume To Hit Size Bool Should impact audio be louder for heavier hits.
    Max Impact Audio Distance Float The maximum distance from the player character to play impact audio.

    See Also

    Surfaces

    SurfaceHitFxData

    SurfaceAudioData

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