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