Merge pull request '修改destroy回调警告' (#55) from Alienjack/AxibugEmuOnline:master into master

Reviewed-on: #55
This commit is contained in:
sin365 2024-11-21 16:22:27 +08:00
commit 6faa42c767

View File

@ -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);