Compare commits

...

2 Commits

Author SHA1 Message Date
ALIENJACK\alien
797ab0c843 修改destroy回调警告 2024-11-21 16:12:54 +08:00
a91d404944 Merge pull request 'master' (#54) from Alienjack/AxibugEmuOnline:master into master
Reviewed-on: sin365/AxibugEmuOnline#54
2024-11-20 19:37:05 +08:00

View File

@ -92,7 +92,7 @@ namespace AxibugEmuOnline.Client
else
CommandDispatcher.Instance.UnRegistController(this);
if(!value)
if (!value)
ResetPulsInvoker();
}
}
@ -100,7 +100,7 @@ namespace AxibugEmuOnline.Client
public abstract void Init(List<T> menuDataList);
private void OnDestroy()
protected override void OnDestroy()
{
if (CommandDispatcher.Instance != null)
CommandDispatcher.Instance.UnRegistController(this);