10 lines
177 B

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