choke: fix some little error
parent
a3868ead17
commit
f7058cc47c
|
@ -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)
|
||||||
|
|
Loading…
Reference in New Issue