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