⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    LaserPointerAimerSwitch MonoBehaviour

    Overview

    The LaserPointerAimerSwitch behaviour can be added to a laser pointer to give a simplified system for switching a weapon's aimer module when the laser is active. This can be used for holding weapons tilted and using the laser to aim.

    Inspector

    LaserPointerAimerSwitch

    Properties

    Name Type Description
    LaserAimerModule Aimer The aimer module associated with this laser pointer. This should be disabled on start.
    LaserMinAccuracy Float The minimum accuracy of the firearm when the laser is switched on.

    See Also

    Modular Firearms

    WieldableLaserPointer Behaviour

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