This commit is contained in:
SoulliesOfficial
2026-06-09 07:00:19 -04:00
parent 5fc1392747
commit e97646ae48
6 changed files with 111 additions and 60 deletions

View File

@@ -15,6 +15,9 @@ namespace Ichni.Editor
public override void Initialize(IBaseElement baseElement, string title, string parameterName)
{
// [对象池安全] 重置可交互状态
if (toggle != null) toggle.interactable = true;
// [对象池安全] 精准解绑业务代理,不动预制体原生的展示事件!
toggle.onValueChanged.RemoveListener(OnToggleValueChanged);
customAction = null;