8000 fixed issue with waitForExit on pages that do not use animation · coderDarren/UnityCore@fb057c6 · GitHub
[go: up one dir, main page]

Skip to content

Commit fb057c6

Browse files
committed
fixed issue with waitForExit on pages that do not use animation
1 parent e4a3858 commit fb057c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Menu/PageController.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ public void TurnPageOff(PageType _off, PageType _on=PageType.None, bool _waitFor
6767
_offPage.Animate(false);
6868
}
6969

70-
if (_waitForExit) {
70+
if (_waitForExit && _offPage.useAnimation) {
7171
Page _onPage = GetPage(_on);
7272
StopCoroutine("WaitForPageExit");
7373
StartCoroutine(WaitForPageExit(_onPage, _offPage));

0 commit comments

Comments
 (0)
0