修改destroy回调警告

This commit is contained in:
ALIENJACK\alien 2024-11-21 16:12:54 +08:00
parent 7efac0581c
commit 498abe5f1f

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