⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    BasicGameObjectMuzzleEffect MonoBehaviour

    Overview

    The BasicGameObjectMuzzleEffect module simple enables a specified game object, and then disables it again after a brief wait.

    Inspector

    BasicGameObjectMuzzleEffect

    Properties

    Name Type Description
    Start Active Boolean Should this module register as the active muzzle effect immediately on start.
    Activation Mode Dropdown How does module activation work. Options are: Component means the component will be enabled / disabled - use this when you have multiple modules on an object such as the firearm root. GameObject activates / deactivates the object - use this for attachments where you want the geo to appear/disappear.
    Muzzle Flash GameObject The muzzle flash game object.
    Muzzle Flash Duration Float The duration the flash should remain visible in seconds.
    Firing Sounds AudioClip Array The audio clips to use when firing. Chosen at random.

    See Also

    Modular Firearms

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