17 lines
316 B
C#
17 lines
316 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
public class Move_FPC : MonoBehaviour
|
|
{
|
|
|
|
[SerializeField] private Transform playerHead;
|
|
|
|
|
|
// Update is called once per frame
|
|
void LateUpdate()
|
|
{
|
|
transform.position = playerHead.transform.position;
|
|
}
|
|
}
|