Pointer Manager
Last updated
Last updated
Responsible to:
Make sure that at least one raycast is available in the scene
Create focus details
Will drive pointer prefab on data
Pointer manager is the bridge that handles different types of pointing sources like head cursor or pointing ray enabled motion controllers.
If you don't have pointing ray-enabled controllers, it defaults to GazeManager.
GetHitInfo
Returns the HitInfo of the current Hit, if any.
GetCurrentFocusedObject
Gets currently focused object, if any
GetCursor
Gets the Cursor object associated with this pointer
GetCurrentRay
Gets the current ray
GetCursorTransform
Gets the transform of the cursor. This is the transform of the white dot that users use to interact with objects.