⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    LineAndParticleHitscanTrail MonoBehaviour

    Overview

    The LineAndParticleHitscanTrail behaviour is used to display the trajectory of a hitscan shooter using both a line renderer and a particle system.

    Inspector

    LineAndParticleHitscanTrail

    Properties

    Name Type Description
    Particles Per Meter Float The number of particles per meter of trail. Used for the emit count to ensure a predictable density.
    Random U Offset Boolean Randomise the line renderer texture's U mapping 0-1. Requires the material to have an "_OffsetU" property accessible via property block.

    See Also

    Modular Firearms

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