using UnityEngine; using System.Collections; public class NewBehaviourScript : MonoBehaviour { private Transform target; private void Start() { target = GameObject.Find("Player").transform; } private void Update() { transform.rotation = Quaternion.LookRotation(target.position - transform.position); } } using UnityEngine; using System.Collections; public class NewBehaviourScript : MonoBehaviour { p