Skip to content

Commit b9a8bed

Browse files
committed
Adding ClientLoadingState
1 parent ad2fae2 commit b9a8bed

File tree

3 files changed

+20
-1
lines changed

3 files changed

+20
-1
lines changed
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
using Unity.Multiplayer.Samples.BossRoom;
2+
using UnityEngine;
3+
4+
public class ClientLoadingState : GameStateBehaviour
5+
{
6+
public override GameState ActiveState { get { return GameState.Loading; } }
7+
}

Assets/BossRoom/Scripts/Client/Game/State/ClientLoadingState.cs.meta

Lines changed: 11 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Assets/BossRoom/Scripts/Shared/Game/State/GameStateBehaviour.cs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,8 @@ public enum GameState
88
MainMenu,
99
CharSelect,
1010
BossRoom,
11-
PostGame
11+
PostGame,
12+
Loading
1213
}
1314

1415
/// <summary>

0 commit comments

Comments
 (0)