holopy3/Assets/Monarch/Scripts/LookAt.cs
2020-12-10 15:25:12 +01:00

13 lines
212 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LookAt : MonoBehaviour
{
public Transform target;
void Update ()
{
transform.LookAt(target);
}
}