using System.Collections; using System.Collections.Generic; using UnityEditor; using UnityEngine; [CustomEditor(typeof(Awareness))] public class AwarenessEditor : Editor { private void OnSceneGUI() { Awareness aware = (Awareness)target; Handles.color = Color.green; Handles.DrawWireArc(aware.transform.position, Vector3.up, Vector3.forward, 360, aware.Radius); } }