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
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: UnityEngine.XR.ARFoundation
Assembly: solution.dll
Syntax
[DefaultExecutionOrder(-2147483647)]
[DisallowMultipleComponent]
[HelpURL("https://docs.unity3d.com/Packages/com.unity.xr.arfoundation@4.2/api/UnityEngine.XR.ARFoundation.ARInputManager.html")]
public sealed class ARInputManager : MonoBehaviour
Properties
Name | Description |
---|---|
subsystem | Get the |