Search Unity

player and cinemachine dontdestroyonload

Discussion in 'Cinemachine' started by tungqlvip, Oct 8, 2019.

  1. tungqlvip

    tungqlvip

    Joined:
    May 7, 2018
    Posts:
    6
    my character dontdestroyonload when moving to a new scene, how do i get back to cinemachine camera when changing scenes
     
  2. Gregoryl

    Gregoryl

    Unity Technologies

    Joined:
    Dec 22, 2016
    Posts:
    7,711
    You will need to set the player as the lookAt/follow target of the vcam that comes with the new scene. Alternatively, you could also have the vcam and camera be DontDestroyOnLoad.
     
    tungqlvip likes this.