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 SourcecontextButtonsAreActive
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 SourceActivateContextButtons()
Activates the context buttons.
Declaration
public void ActivateContextButtons()
ActivateCrosshair()
Activate the crosshair.
Declaration
public void ActivateCrosshair()
DeactivateContextButtons()
Deactivates the context buttons.
Declaration
public void DeactivateContextButtons()
DeactivateCrosshair()
Deactivates the crosshair.
Declaration
public void DeactivateCrosshair()