Search Results for

    Show / Hide Table of Contents

    Class CrosshairController

    The CrosshairController activates/deactivates the crosshair which is positioned in the middle of the screen. This can e.g. happen when an object is grabbed or an overlay is active.

    Inheritance
    System.Object
    CrosshairController
    Namespace: Interaction
    Assembly: Assembly-CSharp.dll
    Syntax
    public class CrosshairController : MonoBehaviour

    Fields

    | Improve this Doc View Source

    contextButtonsAreActive

    Changes depending if the contextButtons are active.

    Declaration
    public bool contextButtonsAreActive
    Field Value
    Type Description
    System.Boolean

    True if contextButtons are active.

    Methods

    | Improve this Doc View Source

    ActivateContextButtons()

    Activates the context buttons.

    Declaration
    public void ActivateContextButtons()
    | Improve this Doc View Source

    ActivateCrosshair()

    Activate the crosshair.

    Declaration
    public void ActivateCrosshair()
    | Improve this Doc View Source

    DeactivateContextButtons()

    Deactivates the context buttons.

    Declaration
    public void DeactivateContextButtons()
    | Improve this Doc View Source

    DeactivateCrosshair()

    Deactivates the crosshair.

    Declaration
    public void DeactivateCrosshair()
    • Improve this Doc
    • View Source
    In This Article
    Back to top TrainAR Documentation