using System.Collections; using System.Collections.Generic; using UnityEngine; public class ZoneUI : MonoBehaviour { public Transform Target; private void Update() { this.GetComponent().position = Camera.main.WorldToScreenPoint(Target.position); } }