Как привязать камеру к игроку в unity?
Вот скрипт для привязки камеры в unity 3d
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class Followcamera : MonoBehaviour
{
public Transform player;
public Vector3 offset;
// Update is called once per frame
void Update()
{
transform.position=player.position+offset;
}
}