Files
GameDevTVObstacleDodge/Library/PackageCache/com.unity.cinemachine@5342685532bb/Documentation~/preview-and-author-in-first-person.md

2.9 KiB

Preview and author a Cinemachine Camera in first person

Note

The following tasks require the use of Unity's Cameras overlay. To benefit from the full functionality described in this page, you have to use Unity 6.0 or later.

Preview a Cinemachine Camera shot

To preview the scene through the lens of a Cinemachine Camera:

  1. From the Scene view, use the Overlays menu to display the Cameras overlay.

  2. Use the drop-down to select the targeted Cinemachine Camera.

Tip

  • Use distinctive names for each GameObject that includes a Cinemachine Camera component.
  • Resize the Camera overlay if you need to see more or less details in the preview.

Author a Cinemachine Camera shot

To author a Cinemachine Camera shot in first person:

  1. In the Scene view, use the Cameras overlay to select the targeted Cinemachine Camera.

  2. Select Control selected camera in first person.

  3. Move and rotate the view with the Scene view navigation controls.

    Note

    When you navigate through the scene with a Cinemachine Camera, Unity automatically adjusts or blocks some movements to preserve the constraints related to the expected Cinemachine Camera behavior.

  4. In the Cameras Overlay, select Open Camera component properties to edit, for example, the camera Lens properties.

    The window that opens allows you to edit any property of the Cinemachine Camera component.

    Note

    You shouldn't edit Procedural Components and use Add Extensions from this window, which can't show the additional component changes that would result. Instead, select the GameObject and make the edits from the Inspector window.

  5. When you're satisfied with your shot composition:

    • Close the Camera properties window if you opened it.
    • Select Return to Scene Camera.

    Warning

    Don't skip this last step before you go navigate the scene to perform another task, otherwise you'll lose the Cinemachine Camera edits you just made.

Additional resources