protected virtual void Awake() { _interactionManager = QuickSingletonManager.GetInstance <QuickVRInteractionManager>(); _interactorGrabDirect = CreateInteractor(_interactionManager._pfInteractorGrabDirect); _interactorGrabRay = CreateInteractor(_interactionManager._pfInteractorGrabRay); _interactorTeleportRay = CreateInteractor(_interactionManager._pfInteractorTeleportRay); _interactorUIRay = CreateInteractor(_interactionManager._pfInteractorUIRay); EnableInteractorGrab(false); EnableInteractorTeleport(false); EnableInteractorUI(false); }
protected virtual void Reset() { name = "__QuickVRManager__"; transform.ResetTransformation(); _interactionManager = gameObject.GetOrCreateComponent <QuickVRInteractionManager>(); }