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

15 lines
271 B
C#

using UnityEngine;
using System.Collections;
public class CameraLookAt : MonoBehaviour {
public Transform target;
// Use this for initialization
void Start () {
}
// Update is called once per frame
void Update () {
transform.LookAt(target);
}
}