예제 #1
0
 void SetupCameras()
 {
     foreach (CinemachineVirtualCamera virtualCam in currentLevelView.GetComponentsInChildren <CinemachineVirtualCamera>(true))
     {
         virtualCam.Follow = mainCharacter;
         virtualCam.LookAt = mainCharacter;
     }
 }