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