Table of Contents

Class CurvedUIHandSwitcher

Namespace
CurvedUI
Assembly
Assembly-CSharp.dll
public class CurvedUIHandSwitcher : MonoBehaviour
Inheritance
CurvedUIHandSwitcher
Inherited Members
Extension Methods

Constructors

CurvedUIHandSwitcher()

public CurvedUIHandSwitcher()

Fields

LaserBeam

[SerializeField]
public GameObject LaserBeam

Field Value

GameObject

autoSwitchHands

[SerializeField]
[Tooltip("If true, when player clicks the trigger on the other hand, we'll instantly set it as UI controlling hand and move the pointer to it.")]
public bool autoSwitchHands

Field Value

bool

leftHandOverride

[Header("Optional")]
[SerializeField]
[Tooltip("If set, pointer will be placed as a child of this transform, instead of the current VR SDKs Camera Rig.")]
public Transform leftHandOverride

Field Value

Transform

rightHandOverride

[SerializeField]
[Tooltip("If set, pointer will be placed as a child of this transform, instead of the current VR SDKs Camera Rig.")]
public Transform rightHandOverride

Field Value

Transform

Methods

SwitchHandTo(Hand)

public void SwitchHandTo(CurvedUIInputModule.Hand newHand)

Parameters

newHand CurvedUIInputModule.Hand