private void prepareForEventSystem(AirXRPointer pointer, AXRInputDeviceID srcDevice) { pointer.Configure(this, srcDevice); if (_raycastPhysics) { var raycaster = pointer.gameObject.AddComponent <AirXRPhysicsRaycaster>(); raycaster.eventMask = _physicsRaycastEventMask; } }
public void Configure(AirVRCameraRig cameraRig, AXRInputDeviceID srcDevice) { _cameraRig = cameraRig; _feedback = new Feedback(this, srcDevice); }
public Feedback(AirXRPointer owner, AXRInputDeviceID device) { _owner = owner; _device = device; }