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
Namespace: UnityEngine.XR.ARFoundation
Syntax
[DefaultExecutionOrder(-2147483647)]
[DisallowMultipleComponent]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.xr.arfoundation@3.0/api/UnityEngine.XR.ARFoundation.ARInputManager.html")]
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 |