We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f382e8 commit edd5b64Copy full SHA for edd5b64
Assets/BossRoom/Scripts/Game/Client/UI/Lobby/LobbyJoiningUI.cs
@@ -53,8 +53,6 @@ void InjectDependenciesAndInitialize(
53
m_LobbyUIMediator = lobbyUIMediator;
54
m_UpdateRunner = updateRunner;
55
56
- m_UpdateRunner.Subscribe(PeriodicRefresh, 10f);
57
-
58
m_Subscriptions = localLobbiesRefreshedSub.Subscribe(UpdateUI);
59
}
60
@@ -142,12 +140,14 @@ public void Show()
142
140
m_CanvasGroup.blocksRaycasts = true;
143
141
m_JoinCodeField.text = "";
144
OnRefresh();
+ m_UpdateRunner.Subscribe(PeriodicRefresh, 10f);
145
146
147
public void Hide()
148
{
149
m_CanvasGroup.alpha = 0f;
150
m_CanvasGroup.blocksRaycasts = false;
+ m_UpdateRunner.Unsubscribe(PeriodicRefresh);
151
152
153
0 commit comments