Immerse SDK
Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Toggle Dark/Light/Auto mode Back to homepage

Camera Target

The Camera Target component is what defines a target for the spectator camera

Creating a Camera Target

  1. Create an Empty GameObject
  2. Add the Camera Target component
  3. Position the camera target as you would a camera (a preview is shown in the scene view)

Camera Target Component

Field Description
Priority Used to set the order of the camera targets in the list. Custom behaviour can be implemented by creating your own Priority Comparer
Transition The type of transition to be used when moving to this camera target.
Follow If the spectator samera should continue to follow this target once it has reached it’s destination.
On Selected An event that is triggered when moving to this camera target
On Deselected An event that is triggered when moving away from this camera target