camera1 카메라(시점) 따라가기 캐릭터만 움직이고 카메라가 따라가지 않는다면 결국 조종하는 캐릭터가 화면 밖으로 나가 보이지 않게 될 것이다. using System.Collections; using System.Collections.Generic; using UnityEngine; public class FollowCamera : MonoBehaviour { [SerializeField] GameObject thingToFollow; // this camera should be the same as the car's position void LateUpdate() { transform.position = thingToFollow.transform.position + new Vector3(0, 0, -10); } } 위와 같은 스크립트.. 2022. 6. 8. 이전 1 다음