choke: fix some little error

master
tiendat3699 2024-04-19 09:20:59 +07:00
parent a3868ead17
commit f7058cc47c
1 changed files with 3 additions and 1 deletions

View File

@ -23,11 +23,13 @@ namespace GadGame
_mainFlow.OnReady += OnReady; _mainFlow.OnReady += OnReady;
_content.localScale = Vector3.zero; _content.localScale = Vector3.zero;
} }
private void OnDestroy() private void OnDestroy()
{ {
_canvasGroup.DOKill(); _canvasGroup.DOKill();
_content.DOKill(); _content.DOKill();
_mainFlow.OnReadyCountDown -= OnReadyCountdown;
_mainFlow.OnReady -= OnReady;
} }
private async void OnReady(bool ready) private async void OnReady(bool ready)