Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 9b086dc

Browse files
turning page off if no animation is used
1 parent 4b72d1b commit 9b086dc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎Menu/Page.cs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,10 @@ public void Animate(bool _on) {
4242

4343
StopCoroutine("AwaitAnimation");
4444
StartCoroutine("AwaitAnimation", _on);
45+
} else {
46+
if (!_on) {
47+
gameObject.SetActive(false);
48+
}
4549
}
4650
}
4751
#endregion

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /