Skip to content

Commit 1fec2ac

Browse files
pdeschainchrispopefernando-cortez
authored
fix: readme and projectID-monitoring popup tweaks (#618)
* CloudProjectID check using Application... instead of UnityEditor Adjusted the wording in the popup and readme * Update Assets/BossRoom/Scripts/Client/Game/State/ClientMainMenuState.cs Co-authored-by: Christopher Pope <chris@unity3d.com> * # * text updates * Update Assets/BossRoom/Scripts/Client/Game/State/ClientMainMenuState.cs Co-authored-by: Fernando Cortez <fernando.cortez@unity3d.com> * # * # Co-authored-by: Christopher Pope <chris@unity3d.com> Co-authored-by: Fernando Cortez <fernando.cortez@unity3d.com>
1 parent 014435f commit 1fec2ac

2 files changed

Lines changed: 4 additions & 6 deletions

File tree

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

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -45,14 +45,12 @@ protected override void InitializeScope()
4545
[Inject]
4646
async void InjectDependenciesAndInitialize(AuthenticationServiceFacade authServiceFacade, LocalLobbyUser localUser, LocalLobby localLobby)
4747
{
48-
#if UNITY_EDITOR
49-
if (string.IsNullOrEmpty(UnityEditor.CloudProjectSettings.projectId))
48+
if (string.IsNullOrEmpty(Application.cloudProjectId))
5049
{
51-
PopupManager.ShowPopupPanel("Unity Game Services ProjectID not set up" ,"Please follow the steps outlined in Readme to set up your project id - it is required for the services to function.");
50+
PopupManager.ShowPopupPanel("Unity Gaming Services ProjectID not set up" ,"Click the Readme file in the Assets Folder within the Project window in-editor to follow \"How to set up Unity Gaming Services\"");
5251
OnSignInFailed();
5352
return;
5453
}
55-
#endif
5654

5755
try
5856
{

Assets/Readme.asset

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:f829608f4fac5c3637e5daa00e20806530c3bf0420acfe14611195954e515f35
3-
size 1879
2+
oid sha256:732d73ec8c7acedcf05d21f28eb1f7851aadfadd3e01cf082f64ce0d955b6fa6
3+
size 2004

0 commit comments

Comments
 (0)