Skip to content

Commit e3c13eb

Browse files
committed
Adding tooltip for UGS setup
1 parent 5275fe5 commit e3c13eb

File tree

2 files changed

+5
-2
lines changed

2 files changed

+5
-2
lines changed

Assets/BossRoom/Scenes/MainMenu.unity

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
version https://git-lfs.github.com/spec/v1
2-
oid sha256:3e29f674cf2ca1d985d081c3007d2ab431d4ca4feb3e6ac29424536c88bf0de7
3-
size 107472
2+
oid sha256:6c24e9e8c0626eb001167357e87d92e2dc38554afe19293fd562329b225ca7b5
3+
size 116464

Assets/BossRoom/Scripts/Game/Client/State/ClientMainMenuState.cs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ public class ClientMainMenuState : GameStateBehaviour
2828
[SerializeField] Button m_LobbyButton;
2929
[SerializeField] GameObject m_SignInSpinner;
3030
[SerializeField] UIProfileSelector m_UIProfileSelector;
31+
[SerializeField] UITooltipDetector m_UGSSetupTooltipDetector;
3132

3233
AuthenticationServiceFacade m_AuthServiceFacade;
3334
LocalLobbyUser m_LocalUser;
@@ -84,6 +85,7 @@ async void InjectDependenciesAndInitialize(AuthenticationServiceFacade authServi
8485
void OnAuthSignIn()
8586
{
8687
m_LobbyButton.interactable = true;
88+
m_UGSSetupTooltipDetector.enabled = false;
8789
m_SignInSpinner.SetActive(false);
8890

8991
Debug.Log($"Signed in. Unity Player ID {AuthenticationService.Instance.PlayerId}");
@@ -98,6 +100,7 @@ void OnSignInFailed()
98100
if (m_LobbyButton)
99101
{
100102
m_LobbyButton.interactable = false;
103+
m_UGSSetupTooltipDetector.enabled = true;
101104
}
102105
if (m_SignInSpinner)
103106
{

0 commit comments

Comments
 (0)