feat(Cycle):实现循环提前检测,修复交互提示消失,按键绑定的事件在重启的时候没能正确,触发循环的提前检测有错误
This commit is contained in:
@@ -1,3 +1,4 @@
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Core;
|
||||
@@ -138,5 +139,11 @@ namespace UI
|
||||
//go.SendMessage("SetComponent", components[i], SendMessageOptions.DontRequireReceiver);
|
||||
}
|
||||
}
|
||||
|
||||
private void OnDestroy()
|
||||
{
|
||||
editController.OnBeginEditTarget -= OnBeginEdit;
|
||||
editController.OnEndEditTarget -= OnEndEdit;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user