1
0
mirror of https://github.com/soarqin/DSP_Mods.git synced 2025-12-09 03:33:29 +08:00

work in progress

This commit is contained in:
2025-04-26 20:51:50 +08:00
parent f6f28efd88
commit 8550a354f1
2 changed files with 14 additions and 3 deletions

View File

@@ -23,14 +23,14 @@ public class MyCornerComboBox : MonoBehaviour
go.SetActive(false);
var cbctrl = go.transform.GetComponent<UIComboBox>();
cbctrl.onSubmit.RemoveAllListeners();
cbctrl.onItemIndexChange.RemoveAllListeners();
foreach (var button in cbctrl.ItemButtons)
{
Destroy(button.gameObject);
}
cbctrl.Items.Clear();
cbctrl.ItemButtons.Clear();
cbctrl.onSubmit.RemoveAllListeners();
cbctrl.onItemIndexChange.RemoveAllListeners();
_baseObject = go;
}