Class ARInputManager
Manages the lifetime of the XRInputSubsystem
. Add one of these to any GameObject
in your scene
if you want device pose information to be available. Read the input by using the TrackedPoseDriver
Inherited Members
UnityEngine.Component.GetComponentInParent<T>(System.Boolean)
UnityEngine.Object.FindObjectsOfType<T>(System.Boolean)
UnityEngine.Object.FindObjectOfType<T>(System.Boolean)
Namespace: UnityEngine.XR.ARFoundation
Syntax
[DefaultExecutionOrder(-2147483647)]
[DisallowMultipleComponent]
public sealed class ARInputManager : MonoBehaviour
Properties
subsystem
Get the XRInputSubsystem
whose lifetime this component manages.
Declaration
public XRInputSubsystem subsystem { get; }
Property Value
Type | Description |
---|---|
XRInputSubsystem |