public static void AddNeoAddonPatch() => HarmonySelect.RefreshList();//know when user tries to select objects through studio neo addon
private void SelectorInit() { Selector = new GameObject("SelectController").AddComponent <HarmonySelect>(); Selector.transform.parent = gameObject.transform; }
[HarmonyPostfix, HarmonyPatch(typeof(TreeNodeCtrl), "AddSelectNode")] //know when objects are selected public static void AddSelectNode() => HarmonySelect.RefreshList();