⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    PooledExplosion MonoBehaviour

    Overview

    The PooledExplosion behaviour manages the lifecycle of a pooled particle object, and handles applying damage and force to items in its area of effect.

    Inspector

    PooledExplosion

    Properties

    Name Type Description
    Collision Layers Float The valid collision layers the explosion will affect.
    Query Trigger Colliders Boolean Should the explosion be tested against trigger colliders.
    Lifetime Float Duration the object should remain active before being returned to the pool.
    Printable Name Float A description of the damage, used when logging and displaying game events.
    Damage Type Float The damage type the explosion applies (enables filtering damage types).
    Radius Float The radius of the explosion.
    Shake Strength Float The strength of the camera (and other) shake due to the explosion.
    Shake Inner Radius Float The inner shake radius of the explosion. Any shake handlers within this radius will be affected at full strength, falling off to 0 outside this based on the falloff distance.
    Shake Falloff Distance Float The distance beyond the inner radius where the shake effect drops off to 0.
    Shake Duration Float The duration of the shake effect.

    See Also

    Explosions

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