⮞ Go to NeoFPS.com

    Show / Hide Table of Contents

    CompoundCrosshairDriver MonoBehaviour

    Overview

    The CompoundCrosshairDriver behaviour is used when you have multiple child weapons that each impact the crosshair accuracy. An example is a dual wield pair of machine guns where you want each weapon to affect the spread of the crosshair as they fire. Placing this behaviour on the root of the weapon will mean the HUD crosshair picks this up and uses the combined crosshair. If you also have a weapon behaviour such as a ModularFirearm on the root then make sure to move this behaviour above it in the inspector.

    Inspector

    CompoundCrosshairDriver

    Properties

    Name Type Description
    Crosshair FpsCrosshair The default crosshair to show.

    See Also

    Modular Firearms

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