using System.Collections;

using System.Collections.Generic;

using UnityEngine;


public class CameraMove : MonoBehaviour

{

    Transform playerTransform;


    void Awake()

    {

        playerTransform = GameObject.FindGameObjectWithTag("Player");

    }


    void LateUpdate()

    {

        transform.position = playerTransform.position;

    }

}


Assets\CameraMove.cs(11,27): error CS0029: Cannot implicitly convert type 'UnityEngine.GameObject' to 'UnityEngine.Transform'

(오브젝트 Player에 태그로 Player를 이미 줬음)