修复
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user