#if UNITY_EDITOR using UnityEngine; using UnityEditor; [CustomEditor(typeof(NetworkID))] public class NetworkID_Inspector : Editor { public override void OnInspectorGUI() { base.OnInspectorGUI(); EditorGUILayout.LabelField($"ID: {(target as NetworkID).ID}"); } } #endif