├── .gitignore ├── README.md └── UnitySteamLobby ├── Assets ├── FPSProject1.meta ├── FPSProject1 │ ├── Camera.meta │ ├── Camera │ │ ├── CameraControl_Listener.cs │ │ ├── CameraControl_Listener.cs.meta │ │ ├── DefaultCamera.cs │ │ ├── DefaultCamera.cs.meta │ │ ├── GameCamera.cs │ │ ├── GameCamera.cs.meta │ │ ├── GameCameraController.cs │ │ ├── GameCameraController.cs.meta │ │ ├── Resources.meta │ │ ├── Resources │ │ │ ├── DefaultCamera.prefab │ │ │ ├── DefaultCamera.prefab.meta │ │ │ ├── TestLevel1_Camera.prefab │ │ │ └── TestLevel1_Camera.prefab.meta │ │ ├── TestLevel1_Camera.cs │ │ └── TestLevel1_Camera.cs.meta │ ├── Client.meta │ ├── Client │ │ ├── Client.cs │ │ ├── Client.cs.meta │ │ ├── Client_Listener.cs │ │ └── Client_Listener.cs.meta │ ├── Debugger.meta │ ├── Debugger │ │ ├── BaseDebugger.cs │ │ ├── BaseDebugger.cs.meta │ │ ├── ClassDebug.cs │ │ ├── ClassDebug.cs.meta │ │ ├── GeneralDebug.cs │ │ ├── GeneralDebug.cs.meta │ │ ├── ILogger.cs │ │ ├── ILogger.cs.meta │ │ ├── LoaderDebug.cs │ │ ├── LoaderDebug.cs.meta │ │ ├── MessageDebug.cs │ │ ├── MessageDebug.cs.meta │ │ ├── NetworkDebug.cs │ │ ├── NetworkDebug.cs.meta │ │ ├── StageDebug.cs │ │ ├── StageDebug.cs.meta │ │ ├── SteamDebug.cs │ │ ├── SteamDebug.cs.meta │ │ ├── UIDebug.cs │ │ ├── UIDebug.cs.meta │ │ ├── UnityLog.cs │ │ └── UnityLog.cs.meta │ ├── Fonts.meta │ ├── Fonts │ │ ├── ANTON-REGULAR.TTF │ │ └── ANTON-REGULAR.TTF.meta │ ├── GameData.meta │ ├── GameData │ │ ├── GameData.cs │ │ └── GameData.cs.meta │ ├── GameElement.meta │ ├── GameElement │ │ ├── GameElement.cs │ │ ├── GameElement.cs.meta │ │ ├── GameElementType.cs │ │ └── GameElementType.cs.meta │ ├── GameInitializer.meta │ ├── GameInitializer │ │ ├── DestroyQueue.cs │ │ ├── DestroyQueue.cs.meta │ │ ├── GameInitializer.cs │ │ ├── GameInitializer.cs.meta │ │ ├── GameInitializer.prefab │ │ ├── GameInitializer.prefab.meta │ │ ├── IGameInitializer.cs │ │ ├── IGameInitializer.cs.meta │ │ ├── StartingStageType.cs │ │ └── StartingStageType.cs.meta │ ├── GameScene.unity │ ├── GameScene.unity.meta │ ├── InputDevice.meta │ ├── InputDevice │ │ ├── DetectedInputDevice.cs │ │ ├── DetectedInputDevice.cs.meta │ │ ├── InputDevices.cs │ │ ├── InputDevices.cs.meta │ │ ├── MouseHover.cs │ │ └── MouseHover.cs.meta │ ├── MenuSounds.meta │ ├── MenuSounds │ │ ├── MenuSound.cs │ │ ├── MenuSound.cs.meta │ │ ├── MenuSoundController.cs │ │ ├── MenuSoundController.cs.meta │ │ ├── MenuSoundType.cs │ │ ├── MenuSoundType.cs.meta │ │ ├── MenuSound_Listener.cs │ │ ├── MenuSound_Listener.cs.meta │ │ ├── MenuSound_Transmission.cs │ │ ├── MenuSound_Transmission.cs.meta │ │ ├── Resources.meta │ │ ├── Resources │ │ │ ├── MenuSound_Transmission.prefab │ │ │ └── MenuSound_Transmission.prefab.meta │ │ ├── Transmission.wav │ │ └── Transmission.wav.meta │ ├── Messages.meta │ ├── Messages │ │ ├── IListener.cs │ │ ├── IListener.cs.meta │ │ ├── Message.cs │ │ ├── Message.cs.meta │ │ ├── MessageHandler.cs │ │ ├── MessageHandler.cs.meta │ │ ├── MessageHandler_Network.cs │ │ ├── MessageHandler_Network.cs.meta │ │ ├── MessageHandler_StageTransition.cs │ │ ├── MessageHandler_StageTransition.cs.meta │ │ ├── MessageType.cs │ │ ├── MessageType.cs.meta │ │ ├── Message_ChatReceived.cs │ │ ├── Message_ChatReceived.cs.meta │ │ ├── Message_ChatSent.cs │ │ ├── Message_ChatSent.cs.meta │ │ ├── Message_EnteredLobby.cs │ │ ├── Message_EnteredLobby.cs.meta │ │ ├── Message_GameStartInitiated.cs │ │ ├── Message_GameStartInitiated.cs.meta │ │ ├── Message_GameStarting_CountDown.cs │ │ ├── Message_GameStarting_CountDown.cs.meta │ │ ├── Message_HandShakenPlayersListReceived.cs │ │ ├── Message_HandShakenPlayersListReceived.cs.meta │ │ ├── Message_HandShakenPlayersListUpdated.cs │ │ ├── Message_HandShakenPlayersListUpdated.cs.meta │ │ ├── Message_HelloBackReceived.cs │ │ ├── Message_HelloBackReceived.cs.meta │ │ ├── Message_HelloReceived.cs │ │ ├── Message_HelloReceived.cs.meta │ │ ├── Message_IncomingP2PRequest.cs │ │ ├── Message_IncomingP2PRequest.cs.meta │ │ ├── Message_MemberJoined.cs │ │ ├── Message_MemberJoined.cs.meta │ │ ├── Message_MemberLeft.cs │ │ ├── Message_MemberLeft.cs.meta │ │ ├── Message_NewHandShakenPlayer.cs │ │ ├── Message_NewHandShakenPlayer.cs.meta │ │ ├── Message_PlayerPositionReceived.cs │ │ ├── Message_PlayerPositionReceived.cs.meta │ │ ├── Message_RemovedHandShakenPlayer.cs │ │ ├── Message_RemovedHandShakenPlayer.cs.meta │ │ ├── Message_SpawnPositionReceived.cs │ │ ├── Message_SpawnPositionReceived.cs.meta │ │ ├── Message_StageTransition.cs │ │ └── Message_StageTransition.cs.meta │ ├── Network.meta │ ├── Network │ │ ├── BytePacket.cs │ │ ├── BytePacket.cs.meta │ │ ├── HandShakenPlayer.cs │ │ ├── HandShakenPlayer.cs.meta │ │ ├── PacketType.cs │ │ └── PacketType.cs.meta │ ├── ResourceLoader.meta │ ├── ResourceLoader │ │ ├── GameElementLoader.cs │ │ ├── GameElementLoader.cs.meta │ │ ├── GameResources.cs │ │ ├── GameResources.cs.meta │ │ ├── MenuSoundLoader.cs │ │ ├── MenuSoundLoader.cs.meta │ │ ├── ResourceLoader.cs │ │ ├── ResourceLoader.cs.meta │ │ ├── UIElementLoader.cs │ │ ├── UIElementLoader.cs.meta │ │ ├── UILoader.cs │ │ ├── UILoader.cs.meta │ │ ├── UIMenuLoader.cs │ │ ├── UIMenuLoader.cs.meta │ │ ├── etcLoader.cs │ │ ├── etcLoader.cs.meta │ │ ├── etcResourceType.cs │ │ └── etcResourceType.cs.meta │ ├── Server.meta │ ├── Server │ │ ├── IServer.cs │ │ ├── IServer.cs.meta │ │ ├── Server.cs │ │ ├── Server.cs.meta │ │ ├── ServerController.cs │ │ ├── ServerController.cs.meta │ │ ├── Server_Listener.cs │ │ └── Server_Listener.cs.meta │ ├── SomewhatRandom.cs │ ├── SomewhatRandom.cs.meta │ ├── Stages.meta │ ├── Stages │ │ ├── BaseStage.meta │ │ ├── BaseStage │ │ │ ├── BaseStage.cs │ │ │ ├── BaseStage.cs.meta │ │ │ ├── EmptyStage.cs │ │ │ ├── EmptyStage.cs.meta │ │ │ ├── StageType.cs │ │ │ └── StageType.cs.meta │ │ ├── ClientLobbyStage.cs │ │ ├── ClientLobbyStage.cs.meta │ │ ├── ConnectingStage.cs │ │ ├── ConnectingStage.cs.meta │ │ ├── CreatingLobbyStage.cs │ │ ├── CreatingLobbyStage.cs.meta │ │ ├── DisconnectedStage.cs │ │ ├── DisconnectedStage.cs.meta │ │ ├── FailedToSyncWithSteamStage.cs │ │ ├── FailedToSyncWithSteamStage.cs.meta │ │ ├── IntroStage.cs │ │ ├── IntroStage.cs.meta │ │ ├── JoinGameStage.cs │ │ ├── JoinGameStage.cs.meta │ │ ├── JoiningLobbyStage.cs │ │ ├── JoiningLobbyStage.cs.meta │ │ ├── ServerLobbyStage.cs │ │ ├── ServerLobbyStage.cs.meta │ │ ├── SteamSyncTestStage1.cs │ │ ├── SteamSyncTestStage1.cs.meta │ │ ├── TitleStage.cs │ │ └── TitleStage.cs.meta │ ├── StandardCanvas.meta │ ├── StandardCanvas │ │ ├── Menu.cs │ │ ├── Menu.cs.meta │ │ ├── MenuController.cs │ │ ├── MenuController.cs.meta │ │ ├── MenuItem.cs │ │ ├── MenuItem.cs.meta │ │ ├── Menu_Empty.cs │ │ ├── Menu_Empty.cs.meta │ │ ├── OnClickMenu.cs │ │ ├── OnClickMenu.cs.meta │ │ ├── Resources.meta │ │ ├── Resources │ │ │ ├── StandardCanvas - Unity Input System.prefab │ │ │ ├── StandardCanvas - Unity Input System.prefab.meta │ │ │ ├── UIMenu_Empty.prefab │ │ │ └── UIMenu_Empty.prefab.meta │ │ ├── StandardCanvas.cs │ │ ├── StandardCanvas.cs.meta │ │ ├── UIElementController.cs │ │ ├── UIElementController.cs.meta │ │ ├── UIElementObj.cs │ │ ├── UIElementObj.cs.meta │ │ ├── UIElementType.cs │ │ ├── UIElementType.cs.meta │ │ ├── UIMenu.cs │ │ ├── UIMenu.cs.meta │ │ ├── UIMenuType.cs │ │ ├── UIMenuType.cs.meta │ │ ├── UIMenu_Empty.cs │ │ ├── UIMenu_Empty.cs.meta │ │ ├── UIType.cs │ │ └── UIType.cs.meta │ ├── SteamControl.meta │ ├── SteamControl │ │ ├── ISteamControl.cs │ │ ├── ISteamControl.cs.meta │ │ ├── LobbyCallbacks.cs │ │ ├── LobbyCallbacks.cs.meta │ │ ├── LobbyControl.cs │ │ ├── LobbyControl.cs.meta │ │ ├── P2P_Receive.cs │ │ ├── P2P_Receive.cs.meta │ │ ├── P2P_Receive_Handle.cs │ │ ├── P2P_Receive_Handle.cs.meta │ │ ├── P2P_Send.cs │ │ ├── P2P_Send.cs.meta │ │ ├── SteamControl.cs │ │ └── SteamControl.cs.meta │ ├── TempLogo.meta │ ├── TempLogo │ │ ├── FP1 (photoshop).psd │ │ ├── FP1 (photoshop).psd.meta │ │ ├── FP1 1024x1024.png │ │ ├── FP1 1024x1024.png.meta │ │ ├── FP1 128x128.png │ │ ├── FP1 128x128.png.meta │ │ ├── FP1 16x16.png │ │ ├── FP1 16x16.png.meta │ │ ├── FP1 256x256.png │ │ ├── FP1 256x256.png.meta │ │ ├── FP1 32x32.png │ │ ├── FP1 32x32.png.meta │ │ ├── FP1 48x48.png │ │ ├── FP1 48x48.png.meta │ │ ├── FP1 512x512.png │ │ ├── FP1 512x512.png.meta │ │ ├── FP1 64x64.png │ │ ├── FP1 64x64.png.meta │ │ ├── FP1.png │ │ ├── FP1.png.meta │ │ ├── FP1.pptx │ │ └── FP1.pptx.meta │ ├── TestLevel_1.meta │ ├── TestLevel_1 │ │ ├── DummyPlayer.cs │ │ ├── DummyPlayer.cs.meta │ │ ├── DummyPlayerYellow.mat │ │ ├── DummyPlayerYellow.mat.meta │ │ ├── Resources.meta │ │ ├── Resources │ │ │ ├── DummyPlayer.prefab │ │ │ ├── DummyPlayer.prefab.meta │ │ │ ├── TestLevel1_Ground.prefab │ │ │ ├── TestLevel1_Ground.prefab.meta │ │ │ ├── TestLevel1_Lighting.prefab │ │ │ ├── TestLevel1_Lighting.prefab.meta │ │ │ ├── TestPlayer.prefab │ │ │ └── TestPlayer.prefab.meta │ │ ├── SpawnPoint.cs │ │ ├── SpawnPoint.cs.meta │ │ ├── TestLevel1_Floor.mat │ │ ├── TestLevel1_Floor.mat.meta │ │ ├── TestLevel1_Ground.cs │ │ ├── TestLevel1_Ground.cs.meta │ │ ├── TestLevel1_Lighting.cs │ │ ├── TestLevel1_Lighting.cs.meta │ │ ├── TestLevel1_SpawnPoint.mat │ │ ├── TestLevel1_SpawnPoint.mat.meta │ │ ├── TestPlayer.cs │ │ ├── TestPlayer.cs.meta │ │ ├── TestPlayerGreen.mat │ │ ├── TestPlayerGreen.mat.meta │ │ ├── TestStage1_Listener.cs │ │ └── TestStage1_Listener.cs.meta │ ├── UIElement_ChatBox.meta │ ├── UIElement_ChatBox │ │ ├── ChatBox_Listener.cs │ │ ├── ChatBox_Listener.cs.meta │ │ ├── Resources.meta │ │ ├── Resources │ │ │ ├── UIElement_ChatBox.prefab │ │ │ └── UIElement_ChatBox.prefab.meta │ │ ├── UIElement_ChatBox.cs │ │ └── UIElement_ChatBox.cs.meta │ ├── UIElement_ChatInput.meta │ ├── UIElement_ChatInput │ │ ├── Resources.meta │ │ ├── Resources │ │ │ ├── UIElement_ChatInput.prefab │ │ │ └── UIElement_ChatInput.prefab.meta │ │ ├── UIElement_ChatInput.cs │ │ └── UIElement_ChatInput.cs.meta │ ├── UIElement_Connecting.meta │ ├── UIElement_Connecting │ │ ├── Resources.meta │ │ ├── Resources │ │ │ ├── UIElement_Connecting.prefab │ │ │ └── UIElement_Connecting.prefab.meta │ │ ├── UIElement_Connecting.cs │ │ └── UIElement_Connecting.cs.meta │ ├── UIElement_CreatingLobby.meta │ ├── UIElement_CreatingLobby │ │ ├── Resources.meta │ │ ├── Resources │ │ │ ├── UIElement_CreatingLobby.prefab │ │ │ └── UIElement_CreatingLobby.prefab.meta │ │ ├── UIElement_CreatingLobby.cs │ │ └── UIElement_CreatingLobby.cs.meta │ ├── UIElement_Disconnected.meta │ ├── UIElement_Disconnected │ │ ├── Resources.meta │ │ ├── Resources │ │ │ ├── UIElement_Disconnected.prefab │ │ │ └── UIElement_Disconnected.prefab.meta │ │ ├── UIElement_Disconnected.cs │ │ └── UIElement_Disconnected.cs.meta │ ├── UIElement_FailedToSyncWithSteam.meta │ ├── UIElement_FailedToSyncWithSteam │ │ ├── Resources.meta │ │ ├── Resources │ │ │ ├── UIElement_FailedToSyncWithSteam.prefab │ │ │ └── UIElement_FailedToSyncWithSteam.prefab.meta │ │ ├── UIElement_FailedToSyncWithSteam.cs │ │ └── UIElement_FailedToSyncWithSteam.cs.meta │ ├── UIElement_JoiningLobby.meta │ ├── UIElement_JoiningLobby │ │ ├── Resources.meta │ │ ├── Resources │ │ │ ├── UIElement_JoiningLobby.prefab │ │ │ └── UIElement_JoiningLobby.prefab.meta │ │ ├── UIElement_JoiningLobby.cs │ │ └── UIElement_JoiningLobby.cs.meta │ ├── UIElement_PlayersList.meta │ ├── UIElement_PlayersList │ │ ├── PlayerSlot.cs │ │ ├── PlayerSlot.cs.meta │ │ ├── PlayersList_Listener.cs │ │ ├── PlayersList_Listener.cs.meta │ │ ├── Resources.meta │ │ ├── Resources │ │ │ ├── UIElement_PlayersList.prefab │ │ │ └── UIElement_PlayersList.prefab.meta │ │ ├── UIElement_PlayersList.cs │ │ └── UIElement_PlayersList.cs.meta │ ├── UIElement_PressEnter.meta │ ├── UIElement_PressEnter │ │ ├── Resources.meta │ │ ├── Resources │ │ │ ├── UIElement_PressEnter.prefab │ │ │ └── UIElement_PressEnter.prefab.meta │ │ ├── UIElement_PressEnter.cs │ │ └── UIElement_PressEnter.cs.meta │ ├── UIElement_Version.meta │ ├── UIElement_Version │ │ ├── Resources.meta │ │ ├── Resources │ │ │ ├── UIElement_Version.prefab │ │ │ └── UIElement_Version.prefab.meta │ │ ├── UIElement_Version.cs │ │ └── UIElement_Version.cs.meta │ ├── UIMenu_ClientLobby.meta │ ├── UIMenu_ClientLobby │ │ ├── Menu_Client_Lobby.cs │ │ ├── Menu_Client_Lobby.cs.meta │ │ ├── OnClickMenu_Disconnect.cs │ │ ├── OnClickMenu_Disconnect.cs.meta │ │ ├── Resources.meta │ │ ├── Resources │ │ │ ├── UIMenu_ClientLobby.prefab │ │ │ └── UIMenu_ClientLobby.prefab.meta │ │ ├── UIMenu_Client_Lobby.cs │ │ └── UIMenu_Client_Lobby.cs.meta │ ├── UIMenu_Connecting.meta │ ├── UIMenu_Connecting │ │ ├── Menu_Connecting.cs │ │ ├── Menu_Connecting.cs.meta │ │ ├── Resources.meta │ │ ├── Resources │ │ │ ├── UIMenu_Connecting.prefab │ │ │ └── UIMenu_Connecting.prefab.meta │ │ ├── UIMenu_Connecting.cs │ │ └── UIMenu_Connecting.cs.meta │ ├── UIMenu_Disconnected.meta │ ├── UIMenu_Disconnected │ │ ├── Menu_Disconnected.cs │ │ ├── Menu_Disconnected.cs.meta │ │ ├── Resources.meta │ │ ├── Resources │ │ │ ├── UIMenu_Disconnected.prefab │ │ │ └── UIMenu_Disconnected.prefab.meta │ │ ├── UIMenu_Disconnected.cs │ │ └── UIMenu_Disconnected.cs.meta │ ├── UIMenu_FailedToSyncWithSteam.meta │ ├── UIMenu_FailedToSyncWithSteam │ │ ├── Menu_FailedToSyncWithSteam.cs │ │ ├── Menu_FailedToSyncWithSteam.cs.meta │ │ ├── Resources.meta │ │ ├── Resources │ │ │ ├── UIMenu_FailedToSyncWithSteam.prefab │ │ │ └── UIMenu_FailedToSyncWithSteam.prefab.meta │ │ ├── UIMenu_FailedToSyncWithSteam.cs │ │ └── UIMenu_FailedToSyncWithSteam.cs.meta │ ├── UIMenu_Intro.meta │ ├── UIMenu_Intro │ │ ├── MenuItem_Standard.cs │ │ ├── MenuItem_Standard.cs.meta │ │ ├── Menu_Intro.cs │ │ ├── Menu_Intro.cs.meta │ │ ├── OnClickMenu_HostGame.cs │ │ ├── OnClickMenu_HostGame.cs.meta │ │ ├── OnClickMenu_JoinGame.cs │ │ ├── OnClickMenu_JoinGame.cs.meta │ │ ├── OnClickMenu_Quit.cs │ │ ├── OnClickMenu_Quit.cs.meta │ │ ├── Resources.meta │ │ ├── Resources │ │ │ ├── UIMenu_Intro.prefab │ │ │ └── UIMenu_Intro.prefab.meta │ │ ├── UIMenu_Intro.cs │ │ └── UIMenu_Intro.cs.meta │ ├── UIMenu_JoinGame.meta │ ├── UIMenu_JoinGame │ │ ├── Menu_JoinGame.cs │ │ ├── Menu_JoinGame.cs.meta │ │ ├── OnClickMenu_ConnectToHost.cs │ │ ├── OnClickMenu_ConnectToHost.cs.meta │ │ ├── Resources.meta │ │ ├── Resources │ │ │ ├── UIMenu_JoinGame.prefab │ │ │ └── UIMenu_JoinGame.prefab.meta │ │ ├── UIMenu_JoinGame.cs │ │ └── UIMenu_JoinGame.cs.meta │ ├── UIMenu_ServerLobby.meta │ └── UIMenu_ServerLobby │ │ ├── Menu_ServerLobby.cs │ │ ├── Menu_ServerLobby.cs.meta │ │ ├── OnClickMenu_ReturnToMenu.cs │ │ ├── OnClickMenu_ReturnToMenu.cs.meta │ │ ├── OnClickMenu_StartGame.cs │ │ ├── OnClickMenu_StartGame.cs.meta │ │ ├── Resources.meta │ │ ├── Resources │ │ ├── UIMenu_ServerLobby.prefab │ │ └── UIMenu_ServerLobby.prefab.meta │ │ ├── UIMenu_ServerLobby.cs │ │ └── UIMenu_ServerLobby.cs.meta ├── Facepunch.meta ├── Facepunch │ ├── Facepunch.Steamworks.Posix.dll │ ├── Facepunch.Steamworks.Posix.dll.meta │ ├── Facepunch.Steamworks.Posix.xml │ ├── Facepunch.Steamworks.Posix.xml.meta │ ├── Facepunch.Steamworks.Win32.dll │ ├── Facepunch.Steamworks.Win32.dll.meta │ ├── Facepunch.Steamworks.Win32.xml │ ├── Facepunch.Steamworks.Win32.xml.meta │ ├── Facepunch.Steamworks.Win64.dll │ ├── Facepunch.Steamworks.Win64.dll.meta │ ├── Facepunch.Steamworks.Win64.xml │ ├── Facepunch.Steamworks.Win64.xml.meta │ ├── redistributable_bin.meta │ └── redistributable_bin │ │ ├── linux32.meta │ │ ├── linux32 │ │ ├── libsteam_api.so │ │ └── libsteam_api.so.meta │ │ ├── linux64.meta │ │ ├── linux64 │ │ ├── libsteam_api.so │ │ └── libsteam_api.so.meta │ │ ├── osx.meta │ │ ├── osx │ │ ├── libsteam_api.bundle │ │ └── libsteam_api.bundle.meta │ │ ├── steam_api.dll │ │ ├── steam_api.dll.meta │ │ ├── steam_api.lib │ │ ├── steam_api.lib.meta │ │ ├── win64.meta │ │ └── win64 │ │ ├── steam_api64.dll │ │ ├── steam_api64.dll.meta │ │ ├── steam_api64.lib │ │ └── steam_api64.lib.meta ├── Scenes.meta └── Scenes │ ├── SampleScene.unity │ └── SampleScene.unity.meta ├── Packages ├── manifest.json └── packages-lock.json ├── ProjectSettings ├── AudioManager.asset ├── ClusterInputManager.asset ├── DynamicsManager.asset ├── EditorBuildSettings.asset ├── EditorSettings.asset ├── GraphicsSettings.asset ├── InputManager.asset ├── MemorySettings.asset ├── NavMeshAreas.asset ├── PackageManagerSettings.asset ├── Physics2DSettings.asset ├── PresetManager.asset ├── ProjectSettings.asset ├── ProjectVersion.txt ├── QualitySettings.asset ├── TagManager.asset ├── TimeManager.asset ├── UnityConnectSettings.asset ├── VFXManager.asset ├── VersionControlSettings.asset ├── XRSettings.asset └── boot.config └── UserSettings ├── EditorUserSettings.asset └── Search.settings /.gitignore: -------------------------------------------------------------------------------- 1 | 2 | Temp/UnityLockfile 3 | Temp/UnityTempFile* 4 | 5 | [Ll]ibrary/ 6 | [Tt]emp/ 7 | [Oo]bj/ 8 | [Bb]uild/ 9 | [Bb]uilds/ 10 | 11 | # Visual Studio cache directory 12 | .vs/ 13 | 14 | # Autogenerated VS/MD/Consulo solution and project files 15 | ExportedObj/ 16 | .consulo/ 17 | *.csproj 18 | *.unityproj 19 | *.sln 20 | *.suo 21 | *.tmp 22 | *.user 23 | *.userprefs 24 | *.pidb 25 | *.booproj 26 | *.svd 27 | *.pdb 28 | *.opendb 29 | 30 | # Unity3D generated meta files 31 | *.pidb.meta 32 | *.pdb.meta 33 | 34 | # Unity3D Generated File On Crash Reports 35 | sysinfo.txt 36 | 37 | # Builds 38 | *.apk 39 | *.unitypackage 40 | 41 | Logs/ 42 | .vsconfig 43 | 44 | Layouts/ -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # UnitySteamLobby 2 | UnitySteamLobby 3 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7b0c2f92d7e6a0f4aa95343dd16bbfbd 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Camera.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 929a43c156da16545bbb0b85a0fc580d 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Camera/CameraControl_Listener.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1ef90854463fc1e4b9256e17b5cdc3be 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Camera/DefaultCamera.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB 6 | { 7 | public class DefaultCamera : GameCamera 8 | { 9 | 10 | } 11 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Camera/DefaultCamera.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 330884300d640a64482f88213b94c155 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Camera/GameCamera.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.InputSystem; 5 | 6 | namespace RB 7 | { 8 | public class GameCamera : MonoBehaviour 9 | { 10 | IGameInitializer _initializer = null; 11 | [SerializeField] Camera _cam = null; 12 | 13 | public virtual void InitCam(IGameInitializer initializer) 14 | { 15 | _initializer = initializer; 16 | _cam = this.gameObject.GetComponentInChildren(); 17 | } 18 | 19 | public virtual Vector3 GetMouseRay(Pointer mousePointer) 20 | { 21 | Ray ray = _cam.ScreenPointToRay(mousePointer.position.ReadValue()); 22 | 23 | RaycastHit hit; 24 | 25 | if (Physics.Raycast(ray, out hit)) 26 | { 27 | return hit.point; 28 | } 29 | 30 | return Vector3.zero; 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Camera/GameCamera.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 347d54bff3d1dd84f870762d45cf8e40 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Camera/GameCameraController.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB 6 | { 7 | [System.Serializable] 8 | public class GameCameraController 9 | { 10 | IGameInitializer _initializer = null; 11 | [SerializeField] CameraControl_Listener _cameraStageTransitionListener = null; 12 | [SerializeField] GameCamera _gameCamera = null; 13 | 14 | public GameCamera GAME_CAMERA { get { return _gameCamera; } } 15 | 16 | public GameCameraController(IGameInitializer initializer) 17 | { 18 | _initializer = initializer; 19 | _cameraStageTransitionListener = new CameraControl_Listener(initializer, this); 20 | } 21 | 22 | public void SetCurrentCamera(GameCamera gameCamera) 23 | { 24 | _gameCamera = gameCamera; 25 | } 26 | } 27 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Camera/GameCameraController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d4d703aa6780fcf48958299fbfcdf617 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Camera/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 367d92ebb896eda4bad3bab2ffa80842 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Camera/Resources/DefaultCamera.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7a0e65dd555a771428dd657d052fb66c 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Camera/Resources/TestLevel1_Camera.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a85cea89d2fedcc40b588b0511b756f6 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Camera/TestLevel1_Camera.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB 6 | { 7 | public class TestLevel1_Camera : GameCamera 8 | { 9 | 10 | } 11 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Camera/TestLevel1_Camera.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8788b98d8239bf04c93c725c429524a9 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Client.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7df094a939737594687166f38d58ad3d 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Client/Client.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 35a986db33a01f449898976a63b90f8f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Client/Client_Listener.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 673c78345e4fb87488af9d84e38bf154 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Debugger.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ecce5bca4b17cac42a30a422f0ab1425 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Debugger/BaseDebugger.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a72f2069206854348928524c1efca9ed 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Debugger/ClassDebug.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB 6 | { 7 | public class ClassDebug : BaseDebugger 8 | { 9 | public static void Log(object message) 10 | { 11 | if (useLog) 12 | { 13 | WriteToText(message); 14 | _logger.Log(message); 15 | } 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Debugger/ClassDebug.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c162bbf5396e84941805df2370b32481 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Debugger/GeneralDebug.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB 6 | { 7 | public class GeneralDebug : BaseDebugger 8 | { 9 | public static void Log(object message) 10 | { 11 | if (useLog) 12 | { 13 | WriteToText(message); 14 | _logger.Log(message); 15 | } 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Debugger/GeneralDebug.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: adc5428c83ec5bc41bb7caded9b8c4a4 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Debugger/ILogger.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB 6 | { 7 | public interface ILogger 8 | { 9 | public void Log(object message); 10 | } 11 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Debugger/ILogger.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7b0b2077cb31e754abc45b1627d27ae8 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Debugger/LoaderDebug.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB 6 | { 7 | public class LoaderDebug : BaseDebugger 8 | { 9 | public static void Log(object message) 10 | { 11 | if (useLog) 12 | { 13 | WriteToText(message); 14 | _logger.Log(message); 15 | } 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Debugger/LoaderDebug.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ad1e5c00875bde94892196620d285195 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Debugger/MessageDebug.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB 6 | { 7 | public class MessageDebug : BaseDebugger 8 | { 9 | public static void Log(object message) 10 | { 11 | if (useLog) 12 | { 13 | WriteToText(message); 14 | _logger.Log(message); 15 | } 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Debugger/MessageDebug.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fc191432c3214f64bae72a83861b673a 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Debugger/NetworkDebug.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB 6 | { 7 | public class NetworkDebug : BaseDebugger 8 | { 9 | public static void Log(object message) 10 | { 11 | if (useLog) 12 | { 13 | WriteToText(message); 14 | _logger.Log(message); 15 | } 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Debugger/NetworkDebug.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ece46898ac4860b48ae459ab385990fd 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Debugger/StageDebug.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB 6 | { 7 | public class StageDebug : BaseDebugger 8 | { 9 | public static void Log(object message) 10 | { 11 | if (useLog) 12 | { 13 | WriteToText(message); 14 | _logger.Log(message); 15 | } 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Debugger/StageDebug.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9b4c5a7148c2b364a9f9d107010b937a 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Debugger/SteamDebug.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB 6 | { 7 | public class SteamDebug : BaseDebugger 8 | { 9 | public static void Log(object message) 10 | { 11 | if (useLog) 12 | { 13 | WriteToText(message); 14 | _logger.Log(message); 15 | } 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Debugger/SteamDebug.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dacb3d591f7802b4490124d637f9cbd7 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Debugger/UIDebug.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB 6 | { 7 | public class UIDebug : BaseDebugger 8 | { 9 | public static void Log(object message) 10 | { 11 | if (useLog) 12 | { 13 | WriteToText(message); 14 | _logger.Log(message); 15 | } 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Debugger/UIDebug.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1b95575b01c2ce54382b4d4680a097ab 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Debugger/UnityLog.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB 6 | { 7 | public class UnityLog : ILogger 8 | { 9 | public void Log(object message) 10 | { 11 | Debug.Log(message); 12 | } 13 | } 14 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Debugger/UnityLog.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6d9e8fd5d80814a47a6592d12e93c95f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Fonts.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 92ef5bb08e3a3a149911c08456aff186 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Fonts/ANTON-REGULAR.TTF: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RoundBearChoi/UnitySteamLobby/6a5da971fb3ae58949da9e205a8d29ac8baa35b6/UnitySteamLobby/Assets/FPSProject1/Fonts/ANTON-REGULAR.TTF -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Fonts/ANTON-REGULAR.TTF.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a3fe008be8f2b394990b64061fae2979 3 | TrueTypeFontImporter: 4 | externalObjects: {} 5 | serializedVersion: 4 6 | fontSize: 16 7 | forceTextureCase: -2 8 | characterSpacing: 0 9 | characterPadding: 1 10 | includeFontData: 1 11 | fontNames: 12 | - Anton 13 | fallbackFontReferences: [] 14 | customCharacters: 15 | fontRenderingMode: 0 16 | ascentCalculationMode: 1 17 | useLegacyBoundsCalculation: 0 18 | shouldRoundAdvanceValue: 1 19 | userData: 20 | assetBundleName: 21 | assetBundleVariant: 22 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/GameData.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8c4c1ba4ae6008344879edaffb1d473f 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/GameData/GameData.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB 6 | { 7 | [System.Serializable] 8 | public struct GameData 9 | { 10 | public Vector3 startPos; 11 | } 12 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/GameData/GameData.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c59f8f675834b7144957cf7eaa178c58 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/GameElement.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 95936f395f8027c4f9ae72ecdcfc59b8 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/GameElement/GameElement.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.GameElements 6 | { 7 | public class GameElement : MonoBehaviour 8 | { 9 | protected IGameInitializer _initializer = null; 10 | protected IListener _listener = null; 11 | 12 | public virtual void InitGameElement(IGameInitializer initializer) 13 | { 14 | _initializer = initializer; 15 | } 16 | 17 | public virtual void OnFixedUpdate() 18 | { 19 | 20 | } 21 | 22 | public virtual void OnUpdate() 23 | { 24 | 25 | } 26 | 27 | public virtual void OnLateUpdate() 28 | { 29 | 30 | } 31 | 32 | public virtual void SetTargetPosition(Vector3 position) 33 | { 34 | 35 | } 36 | 37 | public virtual Vector3 GetTargetPosition() 38 | { 39 | return Vector3.zero; 40 | } 41 | } 42 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/GameElement/GameElement.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e162ba9858c4a8143a67fa55ceaae9c5 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/GameElement/GameElementType.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.GameElements 6 | { 7 | public enum GameElementType 8 | { 9 | NONE, 10 | 11 | TEST_LEVEL_1_GROUND, 12 | TEST_LEVEL_1_LIGHTING, 13 | } 14 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/GameElement/GameElementType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2959854c38473d84aa9bda53561edf0f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/GameInitializer.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bd251b079977f214bb3d2bb6de714aae 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/GameInitializer/DestroyQueue.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB 6 | { 7 | public class DestroyQueue : MonoBehaviour 8 | { 9 | IGameInitializer _initializer = null; 10 | 11 | private void Start() 12 | { 13 | _initializer = FindObjectOfType(); 14 | } 15 | 16 | private void OnDestroy() 17 | { 18 | ClassDebug.Log("on destroy.."); 19 | 20 | _initializer.SERVER.EndServer(); 21 | _initializer.CLIENT.EndClient(); 22 | _initializer.STEAM_CONTROL.ShutDown(); 23 | } 24 | 25 | private void OnApplicationQuit() 26 | { 27 | _initializer.SERVER.EndServer(); 28 | _initializer.CLIENT.EndClient(); 29 | _initializer.STEAM_CONTROL.ShutDown(); 30 | } 31 | } 32 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/GameInitializer/DestroyQueue.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 38ee0ce15d4c2c143afb8dccf2c8c778 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/GameInitializer/GameInitializer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 081532e6169ba5447b344925e9a7a37e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/GameInitializer/GameInitializer.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 40dd302a4ad72184498b94cc6ba67b49 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/GameInitializer/IGameInitializer.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB 6 | { 7 | public interface IGameInitializer 8 | { 9 | public Transform TRANSFORM { get; } 10 | public BaseStage CURRENT_STAGE { get; } 11 | public ResourceLoader RESOURCE_LOADER { get; } 12 | public InputDevices INPUT_DEVICES { get; } 13 | public SteamIntegration.ISteamControl STEAM_CONTROL { get; } 14 | public Server.IServer SERVER { get; } 15 | public Client.Client CLIENT { get; } 16 | public GameCameraController GAMECAMC_CONTROLLER { get; } 17 | 18 | public void AddNextStage(System.Type stageType); 19 | public void MakeStageTransition(); 20 | public void SetEmptyStage(); 21 | public void InitClient(); 22 | public Coroutine RunRoutine(IEnumerator enumerator); 23 | } 24 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/GameInitializer/IGameInitializer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e90e73a25b8cac3478a66a998a57b596 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/GameInitializer/StartingStageType.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB 6 | { 7 | public enum StartingStageType 8 | { 9 | TITLE_STAGE, 10 | INTRO_STAGE, 11 | } 12 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/GameInitializer/StartingStageType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9f1ed0ed72deefa4281c766d84cc3e56 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/GameScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 80ea63556e44d7e4e867f8e5ebe93e93 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/InputDevice.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a7bc5f9c33f618143845dca5b42bde65 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/InputDevice/DetectedInputDevice.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1fa4d57850282644898119a46ff1b1c5 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/InputDevice/InputDevices.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.InputSystem; 5 | 6 | namespace RB 7 | { 8 | [System.Serializable] 9 | public class InputDevices 10 | { 11 | [SerializeField] 12 | IGameInitializer _initializer = null; 13 | 14 | [SerializeField] 15 | List _listInputDevices; 16 | 17 | public void Init(IGameInitializer initializer) 18 | { 19 | _initializer = initializer; 20 | _listInputDevices = new List(); 21 | 22 | AddInputDevice(Keyboard.current, Mouse.current, null); 23 | } 24 | 25 | public void AddInputDevice(Keyboard keyboard, Mouse mouse, Gamepad gamepad) 26 | { 27 | DetectedInputDevice device = new DetectedInputDevice(keyboard, mouse, gamepad); 28 | _listInputDevices.Add(device); 29 | } 30 | 31 | public DetectedInputDevice GetInputDevice(int index) 32 | { 33 | if (_listInputDevices.Count > index) 34 | { 35 | return _listInputDevices[index]; 36 | } 37 | else 38 | { 39 | return new DetectedInputDevice(null, null, null); 40 | } 41 | } 42 | } 43 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/InputDevice/InputDevices.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cccc9bca65a81a54ca86cd7c2e4aa7e4 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/InputDevice/MouseHover.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.InputSystem; 5 | using UnityEngine.UI; 6 | 7 | namespace RB.UI 8 | { 9 | public static class MouseHover 10 | { 11 | public static bool IsHovering(RectTransform rectTransform, Mouse mouse) 12 | { 13 | Vector2 textSize = new Vector2(); 14 | Vector3 textScreenPos = new Vector3(); 15 | 16 | textScreenPos = rectTransform.position; 17 | textSize = rectTransform.rect.size; 18 | 19 | Vector2 mouseScreenPos = new Vector2(); 20 | mouseScreenPos.x = mouse.position.x.ReadValue(); 21 | mouseScreenPos.y = mouse.position.y.ReadValue(); 22 | 23 | if (mouseScreenPos.x > textScreenPos.x - (textSize.x * 0.5f) && 24 | mouseScreenPos.x < textScreenPos.x + (textSize.x * 0.5f) && 25 | mouseScreenPos.y > textScreenPos.y - (textSize.y * 0.5f) && 26 | mouseScreenPos.y < textScreenPos.y + (textSize.y * 0.5f)) 27 | { 28 | return true; 29 | } 30 | else 31 | { 32 | return false; 33 | } 34 | } 35 | } 36 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/InputDevice/MouseHover.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 162db2c66d1511448838fc46cc2cfea2 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/MenuSounds.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 576fe4451b679f0488796adf1819c73e 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/MenuSounds/MenuSound.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.Sound 6 | { 7 | public class MenuSound : MonoBehaviour 8 | { 9 | [SerializeField] AudioSource _audioSource = null; 10 | [SerializeField] bool _deleteAfterPlaying = false; 11 | 12 | public AudioSource AUDIO_SOURCE { get { return _audioSource; } } 13 | public bool DELETE_AFTER_PLAYING { get { return _deleteAfterPlaying; } } 14 | 15 | public virtual void InitSound(bool deleteAfterPlaying) 16 | { 17 | _audioSource = this.gameObject.GetComponent(); 18 | _deleteAfterPlaying = deleteAfterPlaying; 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/MenuSounds/MenuSound.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9ad61d65fb1840d4fa27989e3b352d47 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/MenuSounds/MenuSoundController.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.Sound 6 | { 7 | [System.Serializable] 8 | public class MenuSoundController 9 | { 10 | IGameInitializer _initializer = null; 11 | MenuSound_Listener _menuSoundListener = null; 12 | 13 | public MenuSoundController(IGameInitializer initializer) 14 | { 15 | _initializer = initializer; 16 | _menuSoundListener = new MenuSound_Listener(initializer); 17 | } 18 | 19 | public void OnUpdate() 20 | { 21 | _menuSoundListener.OnUpdate(); 22 | } 23 | } 24 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/MenuSounds/MenuSoundController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b3950813f02613045baeafd56396bbfb 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/MenuSounds/MenuSoundType.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB 6 | { 7 | public enum MenuSoundType 8 | { 9 | NONE, 10 | TRANSMISSION, 11 | } 12 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/MenuSounds/MenuSoundType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 09eaff86e5bec894db6f92eca2d89841 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/MenuSounds/MenuSound_Listener.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1fee1ad056c2da64c9f64697dc854de1 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/MenuSounds/MenuSound_Transmission.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.Sound 6 | { 7 | public class MenuSound_Transmission : MenuSound 8 | { 9 | 10 | } 11 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/MenuSounds/MenuSound_Transmission.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 302e5029c1bed2e46aefcbdd33f0e960 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/MenuSounds/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5d188ad560c125149b9413b1cf1e9f0b 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/MenuSounds/Resources/MenuSound_Transmission.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7b76ce0300dfe8749ad0cac8e1466f14 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/MenuSounds/Transmission.wav: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RoundBearChoi/UnitySteamLobby/6a5da971fb3ae58949da9e205a8d29ac8baa35b6/UnitySteamLobby/Assets/FPSProject1/MenuSounds/Transmission.wav -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/MenuSounds/Transmission.wav.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bf0d93c7e8222434fa37a2004d230670 3 | AudioImporter: 4 | externalObjects: {} 5 | serializedVersion: 6 6 | defaultSettings: 7 | loadType: 0 8 | sampleRateSetting: 0 9 | sampleRateOverride: 44100 10 | compressionFormat: 1 11 | quality: 1 12 | conversionMode: 0 13 | platformSettingOverrides: {} 14 | forceToMono: 0 15 | normalize: 1 16 | preloadAudioData: 1 17 | loadInBackground: 0 18 | ambisonic: 0 19 | 3D: 1 20 | userData: 21 | assetBundleName: 22 | assetBundleVariant: 23 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d851f0a0e75ca44459d01537da47cd18 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/IListener.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB 6 | { 7 | public interface IListener 8 | { 9 | public bool REMOVE { get; set; } 10 | 11 | public void OnNotify(Message message); 12 | } 13 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/IListener.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6ae430b7c30458c42bb8bf96f5a70e92 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/Message.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using Steamworks; 5 | using Steamworks.Data; 6 | 7 | namespace RB 8 | { 9 | public abstract class Message 10 | { 11 | protected MessageType _messageType = MessageType.NONE; 12 | 13 | public MessageType MESSAGE_TYPE { get { return _messageType; } } 14 | 15 | public abstract void Register(); 16 | 17 | public List ints = null; 18 | public List bools = null; 19 | public List uInts = null; 20 | public List vec3s = null; 21 | public List strings = null; 22 | public List _tcpClients = null; 23 | public List types = null; 24 | public List steamIDs = null; 25 | public List friends = null; 26 | public List lobbies = null; 27 | } 28 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/Message.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d3725f608e23d7240822efd753b7e007 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/MessageHandler.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | 6 | namespace RB 7 | { 8 | [System.Serializable] 9 | public class MessageHandler 10 | { 11 | [SerializeField] protected string _handlerName = "empty message handler"; 12 | protected List _listMessages = new List(); 13 | protected List _queue = new List(); 14 | 15 | public virtual void HandleMessages() { ClassDebug.Log("undefined"); } 16 | 17 | public virtual void AddMessage(Message message) 18 | { 19 | _queue.Add(message); 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/MessageHandler.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5da7c2f71584f0845bfe384b15248dac 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/MessageHandler_Network.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6df42785ecca91f4297cc4629d5cc93a 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/MessageHandler_StageTransition.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a396ab3eeb380d742a121045858900d3 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/MessageType.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB 6 | { 7 | public enum MessageType 8 | { 9 | NONE, 10 | 11 | STAGE_TRANSITION, 12 | 13 | ENTERED_LOBBY, 14 | HELLO_RECEIVED, 15 | HELLOBACK_RECEIVED, 16 | MEMBER_JOINED, 17 | MEMBER_LEFT, 18 | ORIGINAL_HOST_LEFT, 19 | NEW_HAND_SHAKEN_PLAYER, 20 | REMOVED_HAND_SHAKEN_PLAYER, 21 | HAND_SHAKEN_PLAYERS_LIST_UPDATED, 22 | HAND_SHAKEN_PLAYERS_LIST_RECEIVED, 23 | CHAT_SENT, 24 | CHAT_RECEIVED, 25 | INCOMING_P2P_REQUEST, 26 | GAME_START_INITIATED, 27 | GAME_STARTING_COUNTDOWN, 28 | PLAYER_POSITION_RECEIVED, 29 | 30 | SPAWN_POSITION_RECEIVED, 31 | } 32 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/MessageType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cd932f776ddb48b4aa810b719b516714 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/Message_ChatReceived.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | 6 | namespace RB 7 | { 8 | public class Message_ChatReceived : Message 9 | { 10 | public Message_ChatReceived() 11 | { 12 | _messageType = MessageType.CHAT_RECEIVED; 13 | } 14 | 15 | public override void Register() 16 | { 17 | MessageHandler_Network.handler.AddMessage(this); 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/Message_ChatReceived.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 65f7ee1cbe7bc0e4e97df9002f5c6649 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/Message_ChatSent.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | 6 | namespace RB 7 | { 8 | public class Message_ChatSent : Message 9 | { 10 | public Message_ChatSent() 11 | { 12 | _messageType = MessageType.CHAT_SENT; 13 | } 14 | 15 | public override void Register() 16 | { 17 | MessageHandler_Network.handler.AddMessage(this); 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/Message_ChatSent.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8c9244c8c6a8bd14da0e6ccf80185efe 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/Message_EnteredLobby.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | 6 | namespace RB 7 | { 8 | public class Message_EnteredLobby : Message 9 | { 10 | public Message_EnteredLobby() 11 | { 12 | _messageType = MessageType.ENTERED_LOBBY; 13 | } 14 | 15 | public override void Register() 16 | { 17 | MessageHandler_Network.handler.AddMessage(this); 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/Message_EnteredLobby.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8dc16c2686f14a945b04038671259ff4 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/Message_GameStartInitiated.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | 6 | namespace RB 7 | { 8 | public class Message_GameStartInitiated : Message 9 | { 10 | public Message_GameStartInitiated() 11 | { 12 | _messageType = MessageType.GAME_START_INITIATED; 13 | } 14 | 15 | public override void Register() 16 | { 17 | MessageHandler_Network.handler.AddMessage(this); 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/Message_GameStartInitiated.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 717a10ad6b543b54ab2672bf824299e1 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/Message_GameStarting_CountDown.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | 6 | namespace RB 7 | { 8 | public class Message_GameStarting_CountDown : Message 9 | { 10 | public Message_GameStarting_CountDown() 11 | { 12 | _messageType = MessageType.GAME_STARTING_COUNTDOWN; 13 | } 14 | 15 | public override void Register() 16 | { 17 | MessageHandler_Network.handler.AddMessage(this); 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/Message_GameStarting_CountDown.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d192fe6d335537f4788596ef579f7ef3 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/Message_HandShakenPlayersListReceived.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | 6 | namespace RB 7 | { 8 | public class Message_HandShakenPlayersListReceived : Message 9 | { 10 | public Message_HandShakenPlayersListReceived() 11 | { 12 | _messageType = MessageType.HAND_SHAKEN_PLAYERS_LIST_RECEIVED; 13 | } 14 | 15 | public override void Register() 16 | { 17 | MessageHandler_Network.handler.AddMessage(this); 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/Message_HandShakenPlayersListReceived.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 732d54d964c52d244b4055ee9bae6f85 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/Message_HandShakenPlayersListUpdated.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | 6 | namespace RB 7 | { 8 | public class Message_HandShakenPlayersListUpdated : Message 9 | { 10 | public Message_HandShakenPlayersListUpdated() 11 | { 12 | _messageType = MessageType.HAND_SHAKEN_PLAYERS_LIST_UPDATED; 13 | } 14 | 15 | public override void Register() 16 | { 17 | MessageHandler_Network.handler.AddMessage(this); 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/Message_HandShakenPlayersListUpdated.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 28d6b95737c6ea845919d4007a8b5aa5 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/Message_HelloBackReceived.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | 6 | namespace RB 7 | { 8 | public class Message_HelloBackReceived : Message 9 | { 10 | public Message_HelloBackReceived() 11 | { 12 | _messageType = MessageType.HELLOBACK_RECEIVED; 13 | } 14 | 15 | public override void Register() 16 | { 17 | MessageHandler_Network.handler.AddMessage(this); 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/Message_HelloBackReceived.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8effb7b5aefe82b499e4ab42dd64ac43 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/Message_HelloReceived.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | 6 | namespace RB 7 | { 8 | public class Message_HelloReceived : Message 9 | { 10 | public Message_HelloReceived() 11 | { 12 | _messageType = MessageType.HELLO_RECEIVED; 13 | } 14 | 15 | public override void Register() 16 | { 17 | MessageHandler_Network.handler.AddMessage(this); 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/Message_HelloReceived.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fa6f3a43d63f2ce4d86f36e2b93bfe93 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/Message_IncomingP2PRequest.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | 6 | namespace RB 7 | { 8 | public class Message_IncomingP2PRequest : Message 9 | { 10 | public Message_IncomingP2PRequest() 11 | { 12 | _messageType = MessageType.INCOMING_P2P_REQUEST; 13 | } 14 | 15 | public override void Register() 16 | { 17 | MessageHandler_Network.handler.AddMessage(this); 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/Message_IncomingP2PRequest.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a1e731c065ebf6e489f3f9504453b7c5 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/Message_MemberJoined.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | 6 | namespace RB 7 | { 8 | public class Message_MemberJoined : Message 9 | { 10 | public Message_MemberJoined() 11 | { 12 | _messageType = MessageType.MEMBER_JOINED; 13 | } 14 | 15 | public override void Register() 16 | { 17 | MessageHandler_Network.handler.AddMessage(this); 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/Message_MemberJoined.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 74fc465c838b5c244873a71b01d6022b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/Message_MemberLeft.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | 6 | namespace RB 7 | { 8 | public class Message_MemberLeft : Message 9 | { 10 | public Message_MemberLeft() 11 | { 12 | _messageType = MessageType.MEMBER_LEFT; 13 | } 14 | 15 | public override void Register() 16 | { 17 | MessageHandler_Network.handler.AddMessage(this); 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/Message_MemberLeft.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 08ae21d848c612a49b4c3313056db529 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/Message_NewHandShakenPlayer.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | 6 | namespace RB 7 | { 8 | public class Message_NewHandShakenPlayer : Message 9 | { 10 | public Message_NewHandShakenPlayer() 11 | { 12 | _messageType = MessageType.NEW_HAND_SHAKEN_PLAYER; 13 | } 14 | 15 | public override void Register() 16 | { 17 | MessageHandler_Network.handler.AddMessage(this); 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/Message_NewHandShakenPlayer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b6f10a142f937644fba1e457416be4f6 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/Message_PlayerPositionReceived.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | 6 | namespace RB 7 | { 8 | public class Message_PlayerPositionReceived : Message 9 | { 10 | public Message_PlayerPositionReceived() 11 | { 12 | _messageType = MessageType.PLAYER_POSITION_RECEIVED; 13 | } 14 | 15 | public override void Register() 16 | { 17 | MessageHandler_Network.handler.AddMessage(this); 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/Message_PlayerPositionReceived.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d81e658e5cf872748a458aee50a857f7 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/Message_RemovedHandShakenPlayer.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | 6 | namespace RB 7 | { 8 | public class Message_RemovedHandShakenPlayer : Message 9 | { 10 | public Message_RemovedHandShakenPlayer() 11 | { 12 | _messageType = MessageType.REMOVED_HAND_SHAKEN_PLAYER; 13 | } 14 | 15 | public override void Register() 16 | { 17 | MessageHandler_Network.handler.AddMessage(this); 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/Message_RemovedHandShakenPlayer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 375850052f9014b4ba8231d5a043f575 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/Message_SpawnPositionReceived.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | 6 | namespace RB 7 | { 8 | public class Message_SpawnPositionReceived : Message 9 | { 10 | public Message_SpawnPositionReceived() 11 | { 12 | _messageType = MessageType.SPAWN_POSITION_RECEIVED; 13 | } 14 | 15 | public override void Register() 16 | { 17 | MessageHandler_Network.handler.AddMessage(this); 18 | } 19 | } 20 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/Message_SpawnPositionReceived.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 588611e781662d04bbdc40504269c5f8 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/Message_StageTransition.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | 6 | namespace RB 7 | { 8 | public class Message_StageTransition : Message 9 | { 10 | public Message_StageTransition(System.Type stageType) 11 | { 12 | _messageType = MessageType.STAGE_TRANSITION; 13 | 14 | types = new List(); 15 | types.Add(stageType); 16 | } 17 | 18 | public override void Register() 19 | { 20 | MessageHandler_StageTransition.handler.AddMessage(this); 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Messages/Message_StageTransition.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d81009916970ab64f85eeb0d8c185154 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Network.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 44657996858dd764796446c2a19cf9fe 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Network/BytePacket.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bd62185983a74434a9cb8c5200ce13e3 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Network/HandShakenPlayer.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.Network 6 | { 7 | [System.Serializable] 8 | public struct HandShakenPlayer 9 | { 10 | public Steamworks.SteamId mSteamID; 11 | public string mSteamName; 12 | 13 | public HandShakenPlayer(Steamworks.SteamId steamID, string steamName) 14 | { 15 | mSteamID = steamID; 16 | mSteamName = steamName; 17 | } 18 | } 19 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Network/HandShakenPlayer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8777a28e08271024facfd76dcf95c50a 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Network/PacketType.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.Network 6 | { 7 | public enum PacketType 8 | { 9 | NONE = 0, 10 | 11 | HELLO, 12 | HELLO_BACK, 13 | NEW_HAND_SHAKEN_PLAYER, 14 | REMOVED_HAND_SHAKEN_PLAYER, 15 | HAND_SHAKEN_PLAYERS_LIST, 16 | CHAT, 17 | BLANK_MESSAGE, 18 | ORIGINAL_HOST_LEFT, 19 | GAME_STARTING_COUNTDOWN, 20 | START_GAME, 21 | SPAWN_POINT, 22 | PLAYER_POSITION, 23 | } 24 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Network/PacketType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f8ce47691d3983045978793f947a8131 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/ResourceLoader.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9d3bf3d2e9f52454cbd29b6123d25161 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/ResourceLoader/GameElementLoader.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using RB.GameElements; 5 | 6 | namespace RB 7 | { 8 | public class GameElementLoader : GameResources 9 | { 10 | public override void InitLoader() 11 | { 12 | LoaderDebug.Log("loading game elements.."); 13 | 14 | LoadObj(GameElementType.TEST_LEVEL_1_GROUND, "TestLevel1_Ground"); 15 | LoadObj(GameElementType.TEST_LEVEL_1_LIGHTING, "TestLevel1_Lighting"); 16 | } 17 | } 18 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/ResourceLoader/GameElementLoader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 48d42d036026e5448ac6dac4469d6522 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/ResourceLoader/GameResources.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB 6 | { 7 | public abstract class GameResources : MonoBehaviour 8 | { 9 | [SerializeField] 10 | protected Dictionary dicResources = new Dictionary(); 11 | 12 | public abstract void InitLoader(); 13 | 14 | public virtual void LoadObj(KeyType keyType, string objName) 15 | { 16 | if (!dicResources.ContainsKey(keyType)) 17 | { 18 | Object createdObj = Resources.Load(objName, typeof(ObjType)); 19 | dicResources.Add(keyType, createdObj); 20 | } 21 | } 22 | 23 | public virtual Object GetLoadedObj(KeyType keyType) 24 | { 25 | if (dicResources.ContainsKey(keyType)) 26 | { 27 | return dicResources[keyType]; 28 | } 29 | else 30 | { 31 | return null; 32 | } 33 | } 34 | } 35 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/ResourceLoader/GameResources.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2949dd728a9d539419435e573dd40678 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/ResourceLoader/MenuSoundLoader.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using RB.Sound; 5 | 6 | namespace RB 7 | { 8 | public class MenuSoundLoader : GameResources 9 | { 10 | public override void InitLoader() 11 | { 12 | LoaderDebug.Log("loading menu sounds.."); 13 | 14 | LoadObj(MenuSoundType.TRANSMISSION, "MenuSound_Transmission"); 15 | } 16 | } 17 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/ResourceLoader/MenuSoundLoader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6f4914d4787b428428fc71b01b4cee92 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/ResourceLoader/ResourceLoader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c6e99cca3b5d4934e9a32b6ff12eef81 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/ResourceLoader/UIElementLoader.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using RB.UI; 5 | 6 | namespace RB 7 | { 8 | public class UIElementLoader : GameResources 9 | { 10 | public override void InitLoader() 11 | { 12 | LoaderDebug.Log("loading uielements.."); 13 | 14 | LoadObj(UIElementType.VERSION, "UIElement_Version"); 15 | LoadObj(UIElementType.PRESS_ENTER, "UIElement_PressEnter"); 16 | LoadObj(UIElementType.FAILED_TO_SYNC_WITH_STEAM, "UIElement_FailedToSyncWithSteam"); 17 | 18 | LoadObj(UIElementType.CREATING_LOBBY, "UIElement_CreatingLobby"); 19 | LoadObj(UIElementType.JOINING_LOBBY, "UIElement_JoiningLobby"); 20 | LoadObj(UIElementType.CONNECTING, "UIElement_Connecting"); 21 | LoadObj(UIElementType.DISCONNECTED, "UIElement_Disconnected"); 22 | 23 | LoadObj(UIElementType.PLAYERS_LIST, "UIElement_PlayersList"); 24 | LoadObj(UIElementType.CHAT_BOX, "UIElement_ChatBox"); 25 | LoadObj(UIElementType.CHAT_INPUT, "UIElement_ChatInput"); 26 | } 27 | } 28 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/ResourceLoader/UIElementLoader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a8ac45e1586d6e8479c23974e96d6c59 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/ResourceLoader/UILoader.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB 6 | { 7 | public class UILoader : GameResources 8 | { 9 | public override void InitLoader() 10 | { 11 | LoaderDebug.Log("loading ui.."); 12 | 13 | LoadObj(UI.UIType.STANDARD_CANVAS, "StandardCanvas - Unity Input System"); 14 | } 15 | } 16 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/ResourceLoader/UILoader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cf37865d24ac0994faff3140ae778423 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/ResourceLoader/UIMenuLoader.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using RB.UI; 5 | 6 | namespace RB 7 | { 8 | public class UIMenuLoader : GameResources 9 | { 10 | public override void InitLoader() 11 | { 12 | LoaderDebug.Log("loading ui menus.."); 13 | 14 | LoadObj(UIMenuType.NONE, "UIMenu_Empty"); 15 | LoadObj(UIMenuType.UIMENU_INTRO, "UIMenu_Intro"); 16 | LoadObj(UIMenuType.UIMENU_FAILED_TO_SYNC_WITH_STEAM, "UIMenu_FailedToSyncWithSteam"); 17 | LoadObj(UIMenuType.UIMENU_SERVER_LOBBY, "UIMenu_ServerLobby"); 18 | LoadObj(UIMenuType.UIMENU_JOIN_GAME, "UIMenu_JoinGame"); 19 | 20 | LoadObj(UIMenuType.UIMENU_CLIENT_LOBBY, "UIMenu_ClientLobby"); 21 | LoadObj(UIMenuType.UIMENU_DISCONNECTED, "UIMenu_Disconnected"); 22 | LoadObj(UIMenuType.UIMENU_CONNECTING, "UIMenu_Connecting"); 23 | } 24 | } 25 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/ResourceLoader/UIMenuLoader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 165f9e4af7efa174796cca593b2a78e9 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/ResourceLoader/etcLoader.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using RB.UI; 5 | using RB.GameElements; 6 | 7 | namespace RB 8 | { 9 | public class etcLoader : GameResources 10 | { 11 | public override void InitLoader() 12 | { 13 | LoaderDebug.Log("loading etc.."); 14 | 15 | LoadObj(etcResourceType.DEFAULT_CAMERA, "DefaultCamera"); 16 | LoadObj(etcResourceType.TEST_LEVEL_1_CAMERA, "TestLevel1_Camera"); 17 | 18 | LoadObj(etcResourceType.TEST_PLAYER, "TestPlayer"); 19 | LoadObj(etcResourceType.DUMMY_PLAYER, "DummyPlayer"); 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/ResourceLoader/etcLoader.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d055dbf6f74b27c439b4d7d5e7bbe62e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/ResourceLoader/etcResourceType.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB 6 | { 7 | public enum etcResourceType 8 | { 9 | NONE, 10 | 11 | DEFAULT_CAMERA, 12 | TEST_LEVEL_1_CAMERA, 13 | 14 | TEST_PLAYER, 15 | DUMMY_PLAYER, 16 | } 17 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/ResourceLoader/etcResourceType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7627777ae74dc754489aa56bf705c248 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Server.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 015edb0e93480cf439d44c995fd8a00c 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Server/IServer.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.Server 6 | { 7 | public interface IServer 8 | { 9 | public bool SERVER_STARTED { get; } 10 | public uint RANDOM_KEY { get; } 11 | public void OpenPort(IGameInitializer initializer); 12 | public void StartServer(IGameInitializer initializer); 13 | public void AddHandShakenPlayer(Network.HandShakenPlayer player); 14 | public Network.HandShakenPlayer[] GetAllHandShakenPlayers(); 15 | public void RemoveHandShakenPlayer(Steamworks.Friend friend); 16 | public void EndServer(); 17 | } 18 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Server/IServer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5799c2bc126b39d499fd8a880169c0b2 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Server/Server.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d1b3a2df1395c3845b0b66ee843962bc 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Server/ServerController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a0543be444026f74daac4d47446a6f43 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Server/Server_Listener.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a8ea4c06bc807344c9670fd378f6b851 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/SomewhatRandom.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b9fef43aebe90b3438063023b9bc7d3b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Stages.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f066c9cdd6725f044b95a3458d561dd0 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Stages/BaseStage.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ee7ea170eef9e7541abf15beae6fe538 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Stages/BaseStage/BaseStage.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f42c5e9e1120d68449612b4e054e1c21 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Stages/BaseStage/EmptyStage.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB 6 | { 7 | public class EmptyStage : BaseStage 8 | { 9 | public override void InitGameElements() 10 | { 11 | 12 | } 13 | 14 | public override void InitStandardCanvas() 15 | { 16 | 17 | } 18 | 19 | public override void OnEnter() 20 | { 21 | StageDebug.Log("empty stage onenter"); 22 | } 23 | 24 | public override void OnExit() 25 | { 26 | StageDebug.Log("empty stage onexit"); 27 | } 28 | 29 | public override void OnFixedUpdate() 30 | { 31 | StageDebug.Log("empty stage onfixedupdate"); 32 | } 33 | 34 | public override void OnUpdate() 35 | { 36 | StageDebug.Log("empty stage onupdate"); 37 | } 38 | 39 | public override void OnLateUpdate() 40 | { 41 | StageDebug.Log("empty stage onlateupdate"); 42 | } 43 | } 44 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Stages/BaseStage/EmptyStage.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fc81b7d1ef0abe643a9a706c25195df3 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Stages/BaseStage/StageType.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB 6 | { 7 | public enum StageType 8 | { 9 | NONE, 10 | INTRO_STAGE, 11 | } 12 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Stages/BaseStage/StageType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c75f03068dc803e44bc2e9133bbf033f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Stages/ClientLobbyStage.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 762669f327069294692da77489178d0b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Stages/ConnectingStage.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bc08786742bd2094888a8f149ddc4a6c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Stages/CreatingLobbyStage.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2846159974c26474582e8037b0f1140b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Stages/DisconnectedStage.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 20b7cd4169523144186d272a0b35f42d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Stages/FailedToSyncWithSteamStage.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB 6 | { 7 | public class FailedToSyncWithSteamStage : BaseStage 8 | { 9 | public override void OnEnter() 10 | { 11 | InitGameElements(); 12 | InitStandardCanvas(); 13 | } 14 | 15 | public override void InitGameElements() 16 | { 17 | List gameElements = new List(); 18 | 19 | InstantiateGameElements(gameElements); 20 | } 21 | 22 | public override void InitStandardCanvas() 23 | { 24 | List uiElements = new List(); 25 | 26 | uiElements.Add(UI.UIElementType.FAILED_TO_SYNC_WITH_STEAM); 27 | 28 | InstantiateStandardCanvas(UI.UIMenuType.UIMENU_FAILED_TO_SYNC_WITH_STEAM, uiElements); 29 | } 30 | 31 | public override void OnFixedUpdate() 32 | { 33 | _standardCanvas.OnFixedUpdate(); 34 | } 35 | 36 | public override void OnUpdate() 37 | { 38 | _standardCanvas.OnUpdate(); 39 | } 40 | 41 | public override void OnLateUpdate() 42 | { 43 | _standardCanvas.OnLateUpdate(); 44 | } 45 | } 46 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Stages/FailedToSyncWithSteamStage.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fd60ea70e378774439580a58b84bbd1a 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Stages/IntroStage.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 820dab962173e2149afc70ffda0a35fd 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Stages/JoinGameStage.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB 6 | { 7 | public class JoinGameStage : BaseStage 8 | { 9 | public override void OnEnter() 10 | { 11 | InitGameElements(); 12 | InitStandardCanvas(); 13 | } 14 | 15 | public override void InitGameElements() 16 | { 17 | List gameElements = new List(); 18 | 19 | InstantiateGameElements(gameElements); 20 | } 21 | 22 | public override void InitStandardCanvas() 23 | { 24 | List uiElements = new List(); 25 | 26 | InstantiateStandardCanvas(UI.UIMenuType.UIMENU_JOIN_GAME, uiElements); 27 | } 28 | 29 | public override void OnFixedUpdate() 30 | { 31 | _standardCanvas.OnFixedUpdate(); 32 | } 33 | 34 | public override void OnUpdate() 35 | { 36 | _standardCanvas.OnUpdate(); 37 | } 38 | 39 | public override void OnLateUpdate() 40 | { 41 | _standardCanvas.OnLateUpdate(); 42 | } 43 | } 44 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Stages/JoinGameStage.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: cf7ef7c1574ee644783ed555e2627506 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Stages/JoiningLobbyStage.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB 6 | { 7 | public class JoiningLobbyStage : BaseStage 8 | { 9 | public override void OnEnter() 10 | { 11 | InitGameElements(); 12 | InitStandardCanvas(); 13 | } 14 | 15 | public override void InitGameElements() 16 | { 17 | List gameElements = new List(); 18 | 19 | InstantiateGameElements(gameElements); 20 | } 21 | 22 | public override void InitStandardCanvas() 23 | { 24 | List uiElements = new List(); 25 | 26 | uiElements.Add(UI.UIElementType.JOINING_LOBBY); 27 | 28 | InstantiateStandardCanvas(UI.UIMenuType.NONE, uiElements); 29 | } 30 | 31 | public override void OnFixedUpdate() 32 | { 33 | _standardCanvas.OnFixedUpdate(); 34 | } 35 | 36 | public override void OnUpdate() 37 | { 38 | _standardCanvas.OnUpdate(); 39 | } 40 | 41 | public override void OnLateUpdate() 42 | { 43 | _standardCanvas.OnLateUpdate(); 44 | } 45 | } 46 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Stages/JoiningLobbyStage.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b9f807158e5319748bf4cfdeefff5c12 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Stages/ServerLobbyStage.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: a817b617a8d592f43b1e78f4c67662ec 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Stages/SteamSyncTestStage1.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c7f0548e19bd1a24aa005e19f013dd28 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/Stages/TitleStage.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2f5f5c95fc09448478f6768b4679fc4e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/StandardCanvas.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fcf7dbfadefe4264781e3b23c1e3d093 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/StandardCanvas/Menu.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.UI 6 | { 7 | [System.Serializable] 8 | public class Menu 9 | { 10 | [SerializeField] protected UIMenu _uiMenu = null; 11 | [SerializeField] protected List _listMenuItems; 12 | 13 | public virtual void Init(UIMenu uiSelectionMenu, Color selectedColor, Color unSelectedColor) { ClassDebug.Log("undefined"); } 14 | public virtual void OnFixedUpdate() { ClassDebug.Log("undefined"); } 15 | public virtual void OnUpdate() { ClassDebug.Log("undefined"); } 16 | public virtual void OnLateUpdate() { ClassDebug.Log("undefined"); } 17 | 18 | public virtual void SetMenuItems(UIMenu uiSelectionMenu, Color selectedColor, Color unSelectedColor) 19 | { 20 | _uiMenu = uiSelectionMenu; 21 | _listMenuItems = new List(); 22 | 23 | Transform[] arr = uiSelectionMenu.transform.GetComponentsInChildren(); 24 | 25 | foreach (Transform t in arr) 26 | { 27 | if (t.name.Contains("SelectOption")) 28 | { 29 | _listMenuItems.Add(new MenuItem_Standard(_uiMenu.INITIALIZER, selectedColor, unSelectedColor, t.gameObject)); 30 | } 31 | } 32 | } 33 | } 34 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/StandardCanvas/Menu.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 62046f9f55b5f4a4b9214e3979ab762e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/StandardCanvas/MenuController.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.UI 6 | { 7 | [System.Serializable] 8 | public class MenuController 9 | { 10 | public UIMenu uiMenu = null; 11 | 12 | [SerializeField] 13 | private BaseStage _ownerStage = null; 14 | 15 | public void Init(BaseStage ownerStage, Transform parent, UIMenuType uiSelectionType) 16 | { 17 | _ownerStage = ownerStage; 18 | 19 | uiMenu = GameObject.Instantiate( 20 | _ownerStage.INITIALIZER.RESOURCE_LOADER.uiMenuLoader.GetLoadedObj(uiSelectionType) as UIMenu); 21 | 22 | uiMenu.transform.SetParent(parent); 23 | uiMenu.transform.localPosition = Vector3.zero; 24 | uiMenu.transform.localRotation = Quaternion.identity; 25 | 26 | uiMenu.Init(_ownerStage.INITIALIZER); 27 | } 28 | 29 | public void OnFixedUpdate() 30 | { 31 | uiMenu.OnFixedUpdate(); 32 | } 33 | 34 | public void OnUpdate() 35 | { 36 | uiMenu.OnUpdate(); 37 | } 38 | 39 | public void OnLateUpdate() 40 | { 41 | uiMenu.OnLateUpdate(); 42 | } 43 | } 44 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/StandardCanvas/MenuController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7fe6588eb4a0cd74b9f6a58b6da4c49b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/StandardCanvas/MenuItem.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ccec9d61a9b9a6b47a2b79df5bdff36d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/StandardCanvas/Menu_Empty.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.UI 6 | { 7 | public class Menu_Empty : Menu 8 | { 9 | public override void Init(UIMenu uiSelectionMenu, Color selectedColor, Color unSelectedColor) 10 | { 11 | 12 | } 13 | 14 | public override void OnFixedUpdate() 15 | { 16 | 17 | } 18 | 19 | public override void OnUpdate() 20 | { 21 | 22 | } 23 | 24 | public override void OnLateUpdate() 25 | { 26 | 27 | } 28 | } 29 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/StandardCanvas/Menu_Empty.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 395ae90ec25536b4aa020fde982ad0bb 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/StandardCanvas/OnClickMenu.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.UI 6 | { 7 | [System.Serializable] 8 | public class OnClickMenu 9 | { 10 | [SerializeField] protected string _actionName = "undefined action"; 11 | 12 | public virtual void Do() { ClassDebug.Log("undefined"); } 13 | } 14 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/StandardCanvas/OnClickMenu.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c8561bbacda76fe4aa6ec69359c951dc 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/StandardCanvas/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6effa7262aa40ef44be4e5aae6699258 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/StandardCanvas/Resources/StandardCanvas - Unity Input System.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e06cfcc2b0c9bf3468d504868b5f74d3 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/StandardCanvas/Resources/UIMenu_Empty.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c3aaef8d6c2d04e46b190771731b07a9 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/StandardCanvas/StandardCanvas.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3a7b55ea0bb52e741970def46bfaa3e5 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/StandardCanvas/UIElementController.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c8251345a5300854fa90040c9d7aae0c 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/StandardCanvas/UIElementObj.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.UI 6 | { 7 | public class UIElementObj : MonoBehaviour 8 | { 9 | protected IGameInitializer _initializer = null; 10 | protected IListener _listener = null; 11 | 12 | public virtual void Init(IGameInitializer initializer) 13 | { 14 | 15 | } 16 | 17 | public virtual void OnFixedUpdate() 18 | { 19 | 20 | } 21 | 22 | public virtual void OnUpdate() 23 | { 24 | 25 | } 26 | 27 | public virtual void OnLateUpdate() 28 | { 29 | 30 | } 31 | 32 | private void OnDestroy() 33 | { 34 | if (_listener != null) 35 | { 36 | _listener.REMOVE = true; 37 | } 38 | } 39 | } 40 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/StandardCanvas/UIElementObj.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 227e0bf658a9d944ebbac864120bbe3d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/StandardCanvas/UIElementType.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.UI 6 | { 7 | public enum UIElementType 8 | { 9 | NONE, 10 | 11 | VERSION, 12 | PRESS_ENTER, 13 | FAILED_TO_SYNC_WITH_STEAM, 14 | 15 | CREATING_LOBBY, 16 | JOINING_LOBBY, 17 | CONNECTING, 18 | DISCONNECTED, 19 | 20 | PLAYERS_LIST, 21 | CHAT_BOX, 22 | CHAT_INPUT, 23 | } 24 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/StandardCanvas/UIElementType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 920d1a62023b9bc4ca4ae22b8abaed98 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/StandardCanvas/UIMenu.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 43a63161e77a79444ac5ca5eb99f8a52 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/StandardCanvas/UIMenuType.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.UI 6 | { 7 | public enum UIMenuType 8 | { 9 | NONE, 10 | 11 | UIMENU_INTRO, 12 | UIMENU_FAILED_TO_SYNC_WITH_STEAM, 13 | //UIMENU_CREATING_LOBBY, 14 | UIMENU_SERVER_LOBBY, 15 | UIMENU_JOIN_GAME, 16 | 17 | UIMENU_CLIENT_LOBBY, 18 | UIMENU_DISCONNECTED, 19 | UIMENU_CONNECTING, 20 | } 21 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/StandardCanvas/UIMenuType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7d7757f7fa450bf4c8389795f18d20d9 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/StandardCanvas/UIMenu_Empty.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.UI 6 | { 7 | public class UIMenu_Empty : UIMenu 8 | { 9 | public override void Init(IGameInitializer baseInitializer) 10 | { 11 | _initializer = baseInitializer; 12 | 13 | menu = new Menu_Empty(); 14 | menu.Init(this, _selectedColor, _unSelectedColor); 15 | } 16 | 17 | public override void OnFixedUpdate() 18 | { 19 | menu.OnFixedUpdate(); 20 | } 21 | 22 | public override void OnUpdate() 23 | { 24 | OnESC(); 25 | menu.OnUpdate(); 26 | } 27 | 28 | public override void OnLateUpdate() 29 | { 30 | menu.OnLateUpdate(); 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/StandardCanvas/UIMenu_Empty.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6c64e01b4a130c049801facc20e4c4ba 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/StandardCanvas/UIType.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.UI 6 | { 7 | public enum UIType 8 | { 9 | NONE, 10 | STANDARD_CANVAS, 11 | } 12 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/StandardCanvas/UIType.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c63799dbe1c028a47a4cae7d69653221 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/SteamControl.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c88fc822ee2056e428186436ecdbc3f7 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/SteamControl/ISteamControl.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 26e994fbbbc8ee54f903e24017a769f6 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/SteamControl/LobbyCallbacks.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fca240521e8c5a940a8d39d08e14cf25 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/SteamControl/LobbyControl.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 153b601c9d53b584fab548eb25127960 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/SteamControl/P2P_Receive.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 88b020c6c4765d441831f6374bb1c505 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/SteamControl/P2P_Receive_Handle.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e81fc2833ae913f439c5ea0808adf0d7 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/SteamControl/P2P_Send.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e4cc65716b5506d41b9c8d0b9b3906cb 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/SteamControl/SteamControl.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: bd17eb23ce470184ea762d126cb67f24 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/TempLogo.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 86ef5167230481a4a8654d81397c3afd 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/TempLogo/FP1 (photoshop).psd: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RoundBearChoi/UnitySteamLobby/6a5da971fb3ae58949da9e205a8d29ac8baa35b6/UnitySteamLobby/Assets/FPSProject1/TempLogo/FP1 (photoshop).psd -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/TempLogo/FP1 1024x1024.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RoundBearChoi/UnitySteamLobby/6a5da971fb3ae58949da9e205a8d29ac8baa35b6/UnitySteamLobby/Assets/FPSProject1/TempLogo/FP1 1024x1024.png -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/TempLogo/FP1 128x128.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RoundBearChoi/UnitySteamLobby/6a5da971fb3ae58949da9e205a8d29ac8baa35b6/UnitySteamLobby/Assets/FPSProject1/TempLogo/FP1 128x128.png -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/TempLogo/FP1 16x16.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RoundBearChoi/UnitySteamLobby/6a5da971fb3ae58949da9e205a8d29ac8baa35b6/UnitySteamLobby/Assets/FPSProject1/TempLogo/FP1 16x16.png -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/TempLogo/FP1 256x256.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RoundBearChoi/UnitySteamLobby/6a5da971fb3ae58949da9e205a8d29ac8baa35b6/UnitySteamLobby/Assets/FPSProject1/TempLogo/FP1 256x256.png -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/TempLogo/FP1 32x32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RoundBearChoi/UnitySteamLobby/6a5da971fb3ae58949da9e205a8d29ac8baa35b6/UnitySteamLobby/Assets/FPSProject1/TempLogo/FP1 32x32.png -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/TempLogo/FP1 48x48.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RoundBearChoi/UnitySteamLobby/6a5da971fb3ae58949da9e205a8d29ac8baa35b6/UnitySteamLobby/Assets/FPSProject1/TempLogo/FP1 48x48.png -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/TempLogo/FP1 512x512.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RoundBearChoi/UnitySteamLobby/6a5da971fb3ae58949da9e205a8d29ac8baa35b6/UnitySteamLobby/Assets/FPSProject1/TempLogo/FP1 512x512.png -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/TempLogo/FP1 64x64.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RoundBearChoi/UnitySteamLobby/6a5da971fb3ae58949da9e205a8d29ac8baa35b6/UnitySteamLobby/Assets/FPSProject1/TempLogo/FP1 64x64.png -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/TempLogo/FP1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RoundBearChoi/UnitySteamLobby/6a5da971fb3ae58949da9e205a8d29ac8baa35b6/UnitySteamLobby/Assets/FPSProject1/TempLogo/FP1.png -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/TempLogo/FP1.pptx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RoundBearChoi/UnitySteamLobby/6a5da971fb3ae58949da9e205a8d29ac8baa35b6/UnitySteamLobby/Assets/FPSProject1/TempLogo/FP1.pptx -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/TempLogo/FP1.pptx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 681fe64f85aeb9944855073c7c7ef0ba 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/TestLevel_1.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0473559dc87693545b876e9c3833ecde 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/TestLevel_1/DummyPlayer.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.GameElements 6 | { 7 | public class DummyPlayer : GameElement 8 | { 9 | [SerializeField] Vector3 _targetPos = Vector3.zero; 10 | 11 | public override void OnUpdate() 12 | { 13 | 14 | } 15 | 16 | public override void OnFixedUpdate() 17 | { 18 | this.transform.position = Vector3.Lerp(this.transform.position, _targetPos, 0.2f); 19 | } 20 | 21 | public override void SetTargetPosition(Vector3 position) 22 | { 23 | _targetPos = position; 24 | } 25 | } 26 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/TestLevel_1/DummyPlayer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d45fde7f5747a584f935f6f4ab8d4dd4 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/TestLevel_1/DummyPlayerYellow.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 724bfa44eb9199c4b8197114d0adb1dc 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/TestLevel_1/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ad339e961c1b321469f02a3e95b95b33 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/TestLevel_1/Resources/DummyPlayer.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 98820777abea4234094eb563f589d265 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/TestLevel_1/Resources/TestLevel1_Ground.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5d5148a6a88446f429ba82e01c050a12 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/TestLevel_1/Resources/TestLevel1_Lighting.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 67765147fc3d902488f7c7389b58e07d 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/TestLevel_1/Resources/TestPlayer.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f321eb93569416d4c89d8ecf6587f392 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/TestLevel_1/SpawnPoint.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB 6 | { 7 | public class SpawnPoint : MonoBehaviour 8 | { 9 | public int randomInt = 0; 10 | } 11 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/TestLevel_1/SpawnPoint.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e4f209d8deec914418c59d02eac9c923 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/TestLevel_1/TestLevel1_Floor.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 01eed5711d4d8634c99f4af4d9eed543 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/TestLevel_1/TestLevel1_Ground.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d9807fa11ec8d084eb07185f3e8cf5f7 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/TestLevel_1/TestLevel1_Lighting.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.GameElements 6 | { 7 | public class TestLevel1_Lighting : GameElement 8 | { 9 | 10 | } 11 | } 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/TestLevel_1/TestLevel1_Lighting.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d8a7dc6217ba0db4297493b121c443e5 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/TestLevel_1/TestLevel1_SpawnPoint.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e543ea633ef23144f8840d75f26f1c91 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/TestLevel_1/TestPlayer.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0f2c1f8cfa6c1154daff8ae21d230339 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/TestLevel_1/TestPlayerGreen.mat.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 36d8319ab021e4c46ac2621345f0eef3 3 | NativeFormatImporter: 4 | externalObjects: {} 5 | mainObjectFileID: 2100000 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/TestLevel_1/TestStage1_Listener.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 68273dcb2b071274ab629e4d8b12e786 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_ChatBox.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7dacc2f761bc07d47b46a33c44e91e32 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_ChatBox/ChatBox_Listener.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3bd03b67b98a6314a8bfeae5998c1579 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_ChatBox/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4e60aaaf31ce3074b94ee3ba902355e0 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_ChatBox/Resources/UIElement_ChatBox.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3ff1a5f6b7057ac4eae2ea316d7e3934 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_ChatBox/UIElement_ChatBox.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c289f8db6d2dc7a44bcdc3a82b8bfe98 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_ChatInput.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 01d7f105c9fbba840944f8fc5034b0fe 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_ChatInput/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5c19968ead6d6fa4f9427988b5d07575 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_ChatInput/Resources/UIElement_ChatInput.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 24c19382b3bc109468b7a6a50dee7e14 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_ChatInput/UIElement_ChatInput.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d4fcf998e66cd324f9e45132a1833623 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_Connecting.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e116a3bb61df82548bcd5c5919a342f3 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_Connecting/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ad0e557ad7becee48954393476c335b2 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_Connecting/Resources/UIElement_Connecting.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e77ca04067f9c484db7205e244e03d3b 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_Connecting/UIElement_Connecting.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.UI 6 | { 7 | public class UIElement_Connecting : UIElementObj 8 | { 9 | 10 | } 11 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_Connecting/UIElement_Connecting.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ac64288297e3fe6438fcc200b751cc29 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_CreatingLobby.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: faa15ae461a6fd049ac3d58e5e1a3325 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_CreatingLobby/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0b359cf206a9df540a16a93a7521c20a 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_CreatingLobby/Resources/UIElement_CreatingLobby.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 43725610087df2a4bbf0c9553e7d3ca8 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_CreatingLobby/UIElement_CreatingLobby.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.UI 6 | { 7 | public class UIElement_CreatingLobby : UIElementObj 8 | { 9 | 10 | } 11 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_CreatingLobby/UIElement_CreatingLobby.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8f1b8269c52b8a346b3e77752d386ac8 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_Disconnected.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 18a76ced899550f43907a3e5ea14eb3f 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_Disconnected/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f6be737b64276ad4287f57a1284d3c29 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_Disconnected/Resources/UIElement_Disconnected.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: dce2009ac43f76b45abb04b12898e588 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_Disconnected/UIElement_Disconnected.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.UI 6 | { 7 | public class UIElement_Disconnected : UIElementObj 8 | { 9 | 10 | } 11 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_Disconnected/UIElement_Disconnected.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 912bd302b666d974b958e33caffc13a1 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_FailedToSyncWithSteam.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e4fa0bc605c1aa142b3f5de4f6556fac 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_FailedToSyncWithSteam/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c96d1baf3a3ea414abd6d2d4a2823324 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_FailedToSyncWithSteam/Resources/UIElement_FailedToSyncWithSteam.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 22ebf00c64f6fac449d5110d4f4a4ecd 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_FailedToSyncWithSteam/UIElement_FailedToSyncWithSteam.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.UI 6 | { 7 | public class UIElement_FailedToSyncWithSteam : UIElementObj 8 | { 9 | 10 | } 11 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_FailedToSyncWithSteam/UIElement_FailedToSyncWithSteam.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: fa5a4482a938d6c49a0f2f0ad40eb024 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_JoiningLobby.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0f29962ecd6c3c7498d41e9b55254a23 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_JoiningLobby/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 180ee7c0681aeb04e8b0bcb63caa6c3e 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_JoiningLobby/Resources/UIElement_JoiningLobby.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8ba17aeb7d639a2488ddd39272360c00 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_JoiningLobby/UIElement_JoiningLobby.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.UI; 5 | 6 | namespace RB.UI 7 | { 8 | public class UIElement_JoiningLobby : UIElementObj 9 | { 10 | public override void Init(IGameInitializer initializer) 11 | { 12 | _initializer = initializer; 13 | } 14 | } 15 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_JoiningLobby/UIElement_JoiningLobby.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 00b566b207971374ab59c3c2d58d2bfe 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_PlayersList.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b58ac78e52bfb6043a409fd3021f2880 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_PlayersList/PlayerSlot.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f0372bf9088f324458ebd696af2f98bb 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_PlayersList/PlayersList_Listener.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 58e4a228ea85d8945bb7df1cc5c91ea0 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_PlayersList/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0cdd35875144cae49838397678263264 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_PlayersList/Resources/UIElement_PlayersList.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 010e1feffe7587849940d7a6380ce88a 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_PlayersList/UIElement_PlayersList.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e1fbf8d75ae75f64a926602588132040 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_PressEnter.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 373d9f1cfc7b1d74e956a957e2cefe39 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_PressEnter/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f27b6ba0ce9134a4aa5eb0bd538aec18 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_PressEnter/Resources/UIElement_PressEnter.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2415d68c27b981c419a2488477c7d50f 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_PressEnter/UIElement_PressEnter.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.UI; 5 | 6 | namespace RB.UI 7 | { 8 | public class UIElement_PressEnter : UIElementObj 9 | { 10 | [SerializeField] 11 | Text _text = null; 12 | 13 | public override void Init(IGameInitializer initializer) 14 | { 15 | _initializer = initializer; 16 | 17 | _text = this.GetComponentInChildren(); 18 | } 19 | 20 | public override void OnUpdate() 21 | { 22 | if (_initializer.INPUT_DEVICES.GetInputDevice(0).KEYBOARD.enterKey.wasPressedThisFrame) 23 | { 24 | GeneralDebug.Log("enter pressed on title stage.. transitioning to intro stage"); 25 | 26 | Message message = new Message_StageTransition(typeof(IntroStage)); 27 | message.Register(); 28 | } 29 | } 30 | } 31 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_PressEnter/UIElement_PressEnter.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5727dbed684e8c840a4eefff9008947a 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_Version.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 45ee79bfbafdcb44e9a3d1feaca0316c 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_Version/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 299f7eab2db19bb4d8ef666f9428e52d 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_Version/Resources/UIElement_Version.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6899da7274f13cc4198effb9102deb1d 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_Version/UIElement_Version.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.UI; 5 | 6 | namespace RB.UI 7 | { 8 | public class UIElement_Version : UIElementObj 9 | { 10 | [SerializeField] 11 | Text _text = null; 12 | 13 | public override void Init(IGameInitializer initializer) 14 | { 15 | _initializer = initializer; 16 | 17 | _text = this.GetComponentInChildren(); 18 | _text.text = Application.version; 19 | 20 | GeneralDebug.Log("game version: " + _text.text); 21 | } 22 | } 23 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIElement_Version/UIElement_Version.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 475a46ba5f8f8c4428b9fa423aa40342 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_ClientLobby.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 76984988df733e04c81209e5f375ee21 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_ClientLobby/Menu_Client_Lobby.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.UI 6 | { 7 | [System.Serializable] 8 | public class Menu_Client_Lobby : Menu 9 | { 10 | public override void Init(UIMenu uiSelectionMenu, Color selectedColor, Color unSelectedColor) 11 | { 12 | SetMenuItems(uiSelectionMenu, selectedColor, unSelectedColor); 13 | 14 | //_listMenuItems[0]._onClickMenu = new OnClickMenu_HostGame(); 15 | _listMenuItems[0]._onClickMenu = new OnClickMenu_Disconnect(); 16 | } 17 | 18 | public override void OnFixedUpdate() 19 | { 20 | foreach (MenuItem option in _listMenuItems) 21 | { 22 | option.OnFixedUpdate(); 23 | } 24 | } 25 | 26 | public override void OnUpdate() 27 | { 28 | foreach (MenuItem option in _listMenuItems) 29 | { 30 | option.OnUpdate(); 31 | } 32 | } 33 | 34 | public override void OnLateUpdate() 35 | { 36 | foreach (MenuItem option in _listMenuItems) 37 | { 38 | option.OnLateUpdate(); 39 | } 40 | } 41 | } 42 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_ClientLobby/Menu_Client_Lobby.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c51730694f8dabb4fbeec2323f6bbd74 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_ClientLobby/OnClickMenu_Disconnect.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.UI 6 | { 7 | public class OnClickMenu_Disconnect : OnClickMenu 8 | { 9 | public OnClickMenu_Disconnect() 10 | { 11 | _actionName = "disconnect"; 12 | } 13 | 14 | public override void Do() 15 | { 16 | UIDebug.Log("clicked on: disconnect"); 17 | 18 | Message message = new Message_StageTransition(typeof(DisconnectedStage)); 19 | message.Register(); 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_ClientLobby/OnClickMenu_Disconnect.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f94312a3543f8474f982ba2e2c7735fd 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_ClientLobby/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 32368667644fdc643b4d9d1f7ea20e88 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_ClientLobby/Resources/UIMenu_ClientLobby.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c1db4f9f945a130499f9b5d5492cbd6f 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_ClientLobby/UIMenu_Client_Lobby.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.UI 6 | { 7 | public class UIMenu_Client_Lobby : UIMenu 8 | { 9 | public override void Init(IGameInitializer baseInitializer) 10 | { 11 | _initializer = baseInitializer; 12 | 13 | menu = new Menu_Client_Lobby(); 14 | menu.Init(this, _selectedColor, _unSelectedColor); 15 | } 16 | 17 | public override void OnFixedUpdate() 18 | { 19 | menu.OnFixedUpdate(); 20 | } 21 | 22 | public override void OnUpdate() 23 | { 24 | OnESC(); 25 | menu.OnUpdate(); 26 | } 27 | 28 | public override void OnLateUpdate() 29 | { 30 | menu.OnLateUpdate(); 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_ClientLobby/UIMenu_Client_Lobby.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 71664abee19b40646bfe586ffe0588f6 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_Connecting.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: da881be853dacb24f9fa9c04bb1ee5cf 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_Connecting/Menu_Connecting.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.UI 6 | { 7 | [System.Serializable] 8 | public class Menu_Connecting : Menu 9 | { 10 | public override void Init(UIMenu uiSelectionMenu, Color selectedColor, Color unSelectedColor) 11 | { 12 | SetMenuItems(uiSelectionMenu, selectedColor, unSelectedColor); 13 | 14 | _listMenuItems[0]._onClickMenu = new OnClickMenu_ReturnToMenu(); 15 | //_listMenuItems[1]._onClickMenu = new OnClickMenu_JoinGame(); 16 | } 17 | 18 | public override void OnFixedUpdate() 19 | { 20 | foreach (MenuItem option in _listMenuItems) 21 | { 22 | option.OnFixedUpdate(); 23 | } 24 | } 25 | 26 | public override void OnUpdate() 27 | { 28 | foreach (MenuItem option in _listMenuItems) 29 | { 30 | option.OnUpdate(); 31 | } 32 | } 33 | 34 | public override void OnLateUpdate() 35 | { 36 | foreach (MenuItem option in _listMenuItems) 37 | { 38 | option.OnLateUpdate(); 39 | } 40 | } 41 | } 42 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_Connecting/Menu_Connecting.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2316c80efab4d624d85fffb555d16204 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_Connecting/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b39f2b04996a1ed4ba0f553a54eccdb6 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_Connecting/Resources/UIMenu_Connecting.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c14be5474fd9fff41b51d49c377f40b7 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_Connecting/UIMenu_Connecting.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.UI 6 | { 7 | public class UIMenu_Connecting : UIMenu 8 | { 9 | public override void Init(IGameInitializer baseInitializer) 10 | { 11 | _initializer = baseInitializer; 12 | 13 | menu = new Menu_Connecting(); 14 | menu.Init(this, _selectedColor, _unSelectedColor); 15 | } 16 | 17 | public override void OnFixedUpdate() 18 | { 19 | menu.OnFixedUpdate(); 20 | } 21 | 22 | public override void OnUpdate() 23 | { 24 | OnESC(); 25 | menu.OnUpdate(); 26 | } 27 | 28 | public override void OnLateUpdate() 29 | { 30 | menu.OnLateUpdate(); 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_Connecting/UIMenu_Connecting.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 6ad8120c34185e142aeaafded07a0c98 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_Disconnected.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5b51a36ff2b8ae34797f1e89ce898b4f 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_Disconnected/Menu_Disconnected.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.UI 6 | { 7 | [System.Serializable] 8 | public class Menu_Disconnected : Menu 9 | { 10 | public override void Init(UIMenu uiSelectionMenu, Color selectedColor, Color unSelectedColor) 11 | { 12 | SetMenuItems(uiSelectionMenu, selectedColor, unSelectedColor); 13 | 14 | _listMenuItems[0]._onClickMenu = new OnClickMenu_ReturnToMenu(); 15 | } 16 | 17 | public override void OnFixedUpdate() 18 | { 19 | foreach (MenuItem option in _listMenuItems) 20 | { 21 | option.OnFixedUpdate(); 22 | } 23 | } 24 | 25 | public override void OnUpdate() 26 | { 27 | foreach (MenuItem option in _listMenuItems) 28 | { 29 | option.OnUpdate(); 30 | } 31 | } 32 | 33 | public override void OnLateUpdate() 34 | { 35 | foreach (MenuItem option in _listMenuItems) 36 | { 37 | option.OnLateUpdate(); 38 | } 39 | } 40 | } 41 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_Disconnected/Menu_Disconnected.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d71a2d41cca152646b79d7590867fc71 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_Disconnected/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9af5dadd6333f974abfb6b596ed8e8ae 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_Disconnected/Resources/UIMenu_Disconnected.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 33a3ff89db2eed14ead9e5e1d589d173 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_Disconnected/UIMenu_Disconnected.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.UI 6 | { 7 | public class UIMenu_Disconnected : UIMenu 8 | { 9 | public override void Init(IGameInitializer baseInitializer) 10 | { 11 | _initializer = baseInitializer; 12 | 13 | menu = new Menu_Disconnected(); 14 | menu.Init(this, _selectedColor, _unSelectedColor); 15 | } 16 | 17 | public override void OnFixedUpdate() 18 | { 19 | menu.OnFixedUpdate(); 20 | } 21 | 22 | public override void OnUpdate() 23 | { 24 | OnESC(); 25 | menu.OnUpdate(); 26 | } 27 | 28 | public override void OnLateUpdate() 29 | { 30 | menu.OnLateUpdate(); 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_Disconnected/UIMenu_Disconnected.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 85d257e7421133e41b73e46926744ee1 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_FailedToSyncWithSteam.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 67bc1d2ffa1d1fa48bb76160c9705ade 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_FailedToSyncWithSteam/Menu_FailedToSyncWithSteam.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.UI 6 | { 7 | [System.Serializable] 8 | public class Menu_FailedToSyncWithSteam : Menu 9 | { 10 | public override void Init(UIMenu uiSelectionMenu, Color selectedColor, Color unSelectedColor) 11 | { 12 | SetMenuItems(uiSelectionMenu, selectedColor, unSelectedColor); 13 | 14 | _listMenuItems[0]._onClickMenu = new OnClickMenu_ReturnToMenu(); 15 | } 16 | 17 | public override void OnFixedUpdate() 18 | { 19 | foreach (MenuItem option in _listMenuItems) 20 | { 21 | option.OnFixedUpdate(); 22 | } 23 | } 24 | 25 | public override void OnUpdate() 26 | { 27 | foreach (MenuItem option in _listMenuItems) 28 | { 29 | option.OnUpdate(); 30 | } 31 | } 32 | 33 | public override void OnLateUpdate() 34 | { 35 | foreach (MenuItem option in _listMenuItems) 36 | { 37 | option.OnLateUpdate(); 38 | } 39 | } 40 | } 41 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_FailedToSyncWithSteam/Menu_FailedToSyncWithSteam.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0a3e44faf8b07b743b3f293c50c935d5 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_FailedToSyncWithSteam/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 40f337932615be24c8b1fbb6002fd8ae 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_FailedToSyncWithSteam/Resources/UIMenu_FailedToSyncWithSteam.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2f87bb988a3b727488f48a4a7baa509c 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_FailedToSyncWithSteam/UIMenu_FailedToSyncWithSteam.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.UI 6 | { 7 | public class UIMenu_FailedToSyncWithSteam : UIMenu 8 | { 9 | public override void Init(IGameInitializer baseInitializer) 10 | { 11 | _initializer = baseInitializer; 12 | 13 | menu = new Menu_FailedToSyncWithSteam(); 14 | menu.Init(this, _selectedColor, _unSelectedColor); 15 | } 16 | 17 | public override void OnFixedUpdate() 18 | { 19 | menu.OnFixedUpdate(); 20 | } 21 | 22 | public override void OnUpdate() 23 | { 24 | OnESC(); 25 | menu.OnUpdate(); 26 | } 27 | 28 | public override void OnLateUpdate() 29 | { 30 | menu.OnLateUpdate(); 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_FailedToSyncWithSteam/UIMenu_FailedToSyncWithSteam.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: afc490c015f2900488b6b6b842d15008 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_Intro.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5ef93593fc79b5c4daeb4cc342434b1f 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_Intro/MenuItem_Standard.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | using UnityEngine.UI; 5 | 6 | namespace RB.UI 7 | { 8 | public class MenuItem_Standard : MenuItem 9 | { 10 | public MenuItem_Standard(IGameInitializer baseInitializer, Color selectedColor, Color unSelectedColor, GameObject uiObject) 11 | { 12 | _initializer = baseInitializer; 13 | _currentDevice = baseInitializer.INPUT_DEVICES.GetInputDevice(0); 14 | 15 | _selectedColor = selectedColor; 16 | _unSelectedColor = unSelectedColor; 17 | 18 | _uiObject = uiObject; 19 | _text = uiObject.GetComponentInChildren(); 20 | 21 | _initialSize = _text.rectTransform.localScale; 22 | _selectedSize = _initialSize * 1.1f; 23 | 24 | _onClickMenu = new OnClickMenu(); 25 | } 26 | 27 | public override void OnFixedUpdate() 28 | { 29 | 30 | } 31 | 32 | public override void OnUpdate() 33 | { 34 | OnMouseHover(); 35 | OnClick(); 36 | } 37 | 38 | public override void OnLateUpdate() 39 | { 40 | OnSelection(); 41 | } 42 | } 43 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_Intro/MenuItem_Standard.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 894b0b73ba5184146b624ae5b1b0194e 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_Intro/Menu_Intro.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.UI 6 | { 7 | [System.Serializable] 8 | public class Menu_Intro : Menu 9 | { 10 | public override void Init(UIMenu uiSelectionMenu, Color selectedColor, Color unSelectedColor) 11 | { 12 | SetMenuItems(uiSelectionMenu, selectedColor, unSelectedColor); 13 | 14 | _listMenuItems[0]._onClickMenu = new OnClickMenu_HostGame(); 15 | //_listMenuItems[1]._onClickMenu = new OnClickMenu_JoinGame(); 16 | _listMenuItems[2]._onClickMenu = new OnClickMenu_Quit(); 17 | } 18 | 19 | public override void OnFixedUpdate() 20 | { 21 | foreach (MenuItem option in _listMenuItems) 22 | { 23 | option.OnFixedUpdate(); 24 | } 25 | } 26 | 27 | public override void OnUpdate() 28 | { 29 | foreach (MenuItem option in _listMenuItems) 30 | { 31 | option.OnUpdate(); 32 | } 33 | } 34 | 35 | public override void OnLateUpdate() 36 | { 37 | foreach (MenuItem option in _listMenuItems) 38 | { 39 | option.OnLateUpdate(); 40 | } 41 | } 42 | } 43 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_Intro/Menu_Intro.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c83d6363e5970a547a3b4b83a3e46a2f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_Intro/OnClickMenu_HostGame.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.UI 6 | { 7 | public class OnClickMenu_HostGame : OnClickMenu 8 | { 9 | public OnClickMenu_HostGame() 10 | { 11 | _actionName = "host game"; 12 | } 13 | 14 | public override void Do() 15 | { 16 | UIDebug.Log("clicked on: host game"); 17 | 18 | Message message = new Message_StageTransition(typeof(CreatingLobbyStage)); 19 | message.Register(); 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_Intro/OnClickMenu_HostGame.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 963935b084fd6694e9b894ca3137e346 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_Intro/OnClickMenu_JoinGame.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.UI 6 | { 7 | public class OnClickMenu_JoinGame : OnClickMenu 8 | { 9 | public OnClickMenu_JoinGame() 10 | { 11 | _actionName = "join game"; 12 | } 13 | 14 | public override void Do() 15 | { 16 | UIDebug.Log("clicked on: join game"); 17 | 18 | Message message = new Message_StageTransition(typeof(JoinGameStage)); 19 | message.Register(); 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_Intro/OnClickMenu_JoinGame.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: da8eb4442d99d994d96d8fa03984ebaf 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_Intro/OnClickMenu_Quit.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.UI 6 | { 7 | public class OnClickMenu_Quit : OnClickMenu 8 | { 9 | public OnClickMenu_Quit() 10 | { 11 | _actionName = "quit"; 12 | } 13 | 14 | public override void Do() 15 | { 16 | UIDebug.Log("clicked on: quit"); 17 | 18 | Application.Quit(); 19 | } 20 | } 21 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_Intro/OnClickMenu_Quit.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 5c13c7fbfde41904d8802cd6c8a6622f 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_Intro/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: d52e0d4595adc7642a8fc8af913cab39 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_Intro/Resources/UIMenu_Intro.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 51d7342f563c2804d9868d8322256b8b 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_Intro/UIMenu_Intro.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.UI 6 | { 7 | public class UIMenu_Intro : UIMenu 8 | { 9 | public override void Init(IGameInitializer baseInitializer) 10 | { 11 | _initializer = baseInitializer; 12 | 13 | menu = new Menu_Intro(); 14 | menu.Init(this, _selectedColor, _unSelectedColor); 15 | } 16 | 17 | public override void OnFixedUpdate() 18 | { 19 | menu.OnFixedUpdate(); 20 | } 21 | 22 | public override void OnUpdate() 23 | { 24 | OnESC(); 25 | menu.OnUpdate(); 26 | } 27 | 28 | public override void OnLateUpdate() 29 | { 30 | menu.OnLateUpdate(); 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_Intro/UIMenu_Intro.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: e250f3ecb552b0b48980c609b9e38f23 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_JoinGame.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 8b92a3f22c8b86f4cbc3bf04860523ae 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_JoinGame/Menu_JoinGame.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.UI 6 | { 7 | public class Menu_JoinGame : Menu 8 | { 9 | public override void Init(UIMenu uiSelectionMenu, Color selectedColor, Color unSelectedColor) 10 | { 11 | SetMenuItems(uiSelectionMenu, selectedColor, unSelectedColor); 12 | 13 | _listMenuItems[0]._onClickMenu = new OnClickMenu_ConnectToHost(); 14 | _listMenuItems[1]._onClickMenu = new OnClickMenu_ReturnToMenu(); 15 | } 16 | 17 | public override void OnFixedUpdate() 18 | { 19 | foreach (MenuItem option in _listMenuItems) 20 | { 21 | option.OnFixedUpdate(); 22 | } 23 | } 24 | 25 | public override void OnUpdate() 26 | { 27 | foreach (MenuItem option in _listMenuItems) 28 | { 29 | option.OnUpdate(); 30 | } 31 | } 32 | 33 | public override void OnLateUpdate() 34 | { 35 | foreach (MenuItem option in _listMenuItems) 36 | { 37 | option.OnLateUpdate(); 38 | } 39 | } 40 | } 41 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_JoinGame/Menu_JoinGame.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: c9a24aee2c822664cb107e0dc401c8e3 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_JoinGame/OnClickMenu_ConnectToHost.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.UI 6 | { 7 | public class OnClickMenu_ConnectToHost : OnClickMenu 8 | { 9 | public OnClickMenu_ConnectToHost() 10 | { 11 | _actionName = "connect to host"; 12 | } 13 | 14 | public override void Do() 15 | { 16 | UIDebug.Log("clicked on: connect to host"); 17 | 18 | Message message = new Message_StageTransition(typeof(ConnectingStage)); 19 | message.Register(); 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_JoinGame/OnClickMenu_ConnectToHost.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b13d9879fa4f9eb4ebfb2ccd11768b2d 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_JoinGame/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b1304ca9ba49b1f44871b62212a1f8c2 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_JoinGame/Resources/UIMenu_JoinGame.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1638ec22788f7424e807c41317bf0beb 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_JoinGame/UIMenu_JoinGame.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.UI 6 | { 7 | public class UIMenu_JoinGame : UIMenu 8 | { 9 | public override void Init(IGameInitializer baseInitializer) 10 | { 11 | _initializer = baseInitializer; 12 | 13 | menu = new Menu_JoinGame(); 14 | menu.Init(this, _selectedColor, _unSelectedColor); 15 | } 16 | 17 | public override void OnFixedUpdate() 18 | { 19 | menu.OnFixedUpdate(); 20 | } 21 | 22 | public override void OnUpdate() 23 | { 24 | OnESC(); 25 | menu.OnUpdate(); 26 | } 27 | 28 | public override void OnLateUpdate() 29 | { 30 | menu.OnLateUpdate(); 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_JoinGame/UIMenu_JoinGame.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b6439a42cbf962c4396b939512799d9a 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_ServerLobby.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 793961f551345e749aec7f0b1e517022 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_ServerLobby/Menu_ServerLobby.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.UI 6 | { 7 | public class Menu_ServerLobby : Menu 8 | { 9 | public override void Init(UIMenu uiSelectionMenu, Color selectedColor, Color unSelectedColor) 10 | { 11 | SetMenuItems(uiSelectionMenu, selectedColor, unSelectedColor); 12 | 13 | _listMenuItems[0]._onClickMenu = new OnClickMenu_StartGame(); 14 | _listMenuItems[1]._onClickMenu = new OnClickMenu_Disconnect(); 15 | } 16 | 17 | public override void OnFixedUpdate() 18 | { 19 | foreach (MenuItem option in _listMenuItems) 20 | { 21 | option.OnFixedUpdate(); 22 | } 23 | } 24 | 25 | public override void OnUpdate() 26 | { 27 | foreach (MenuItem option in _listMenuItems) 28 | { 29 | option.OnUpdate(); 30 | } 31 | } 32 | 33 | public override void OnLateUpdate() 34 | { 35 | foreach (MenuItem option in _listMenuItems) 36 | { 37 | option.OnLateUpdate(); 38 | } 39 | } 40 | } 41 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_ServerLobby/Menu_ServerLobby.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 749a51bef65c9fc4ca344cedb2ce1787 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_ServerLobby/OnClickMenu_ReturnToMenu.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.UI 6 | { 7 | public class OnClickMenu_ReturnToMenu : OnClickMenu 8 | { 9 | public OnClickMenu_ReturnToMenu() 10 | { 11 | _actionName = "return to menu"; 12 | } 13 | 14 | public override void Do() 15 | { 16 | UIDebug.Log("clicked on: return to menu"); 17 | 18 | Message message = new Message_StageTransition(typeof(IntroStage)); 19 | message.Register(); 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_ServerLobby/OnClickMenu_ReturnToMenu.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 0a0a3d6d706e7fd4da580e2f01788e1b 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_ServerLobby/OnClickMenu_StartGame.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.UI 6 | { 7 | public class OnClickMenu_StartGame : OnClickMenu 8 | { 9 | public OnClickMenu_StartGame() 10 | { 11 | _actionName = "start game"; 12 | } 13 | 14 | public override void Do() 15 | { 16 | UIDebug.Log("clicked on: start game"); 17 | 18 | Message m = new Message_GameStartInitiated(); 19 | m.Register(); 20 | } 21 | } 22 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_ServerLobby/OnClickMenu_StartGame.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 64ae290c0ea0b7148a7038b8904d75af 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_ServerLobby/Resources.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7dfc0dd4f739a594292642cf4c945717 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_ServerLobby/Resources/UIMenu_ServerLobby.prefab.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 09708de114d6d2245a7b54f740a0502e 3 | PrefabImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_ServerLobby/UIMenu_ServerLobby.cs: -------------------------------------------------------------------------------- 1 | using System.Collections; 2 | using System.Collections.Generic; 3 | using UnityEngine; 4 | 5 | namespace RB.UI 6 | { 7 | public class UIMenu_ServerLobby : UIMenu 8 | { 9 | public override void Init(IGameInitializer baseInitializer) 10 | { 11 | _initializer = baseInitializer; 12 | 13 | menu = new Menu_ServerLobby(); 14 | menu.Init(this, _selectedColor, _unSelectedColor); 15 | } 16 | 17 | public override void OnFixedUpdate() 18 | { 19 | menu.OnFixedUpdate(); 20 | } 21 | 22 | public override void OnUpdate() 23 | { 24 | OnESC(); 25 | menu.OnUpdate(); 26 | } 27 | 28 | public override void OnLateUpdate() 29 | { 30 | menu.OnLateUpdate(); 31 | } 32 | } 33 | } -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/FPSProject1/UIMenu_ServerLobby/UIMenu_ServerLobby.cs.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7f4a815b7d318954d81bb7ee0725e261 3 | MonoImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | defaultReferences: [] 7 | executionOrder: 0 8 | icon: {instanceID: 0} 9 | userData: 10 | assetBundleName: 11 | assetBundleVariant: 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/Facepunch.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 488d7d34a8d19304f91d378d5252f939 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/Facepunch/Facepunch.Steamworks.Posix.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RoundBearChoi/UnitySteamLobby/6a5da971fb3ae58949da9e205a8d29ac8baa35b6/UnitySteamLobby/Assets/Facepunch/Facepunch.Steamworks.Posix.dll -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/Facepunch/Facepunch.Steamworks.Posix.xml.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: f13b7820b3a9b6145a8ea48a92291748 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/Facepunch/Facepunch.Steamworks.Win32.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RoundBearChoi/UnitySteamLobby/6a5da971fb3ae58949da9e205a8d29ac8baa35b6/UnitySteamLobby/Assets/Facepunch/Facepunch.Steamworks.Win32.dll -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/Facepunch/Facepunch.Steamworks.Win32.xml.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 1c9eb7c3219a16948b7520dc7026cf20 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/Facepunch/Facepunch.Steamworks.Win64.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RoundBearChoi/UnitySteamLobby/6a5da971fb3ae58949da9e205a8d29ac8baa35b6/UnitySteamLobby/Assets/Facepunch/Facepunch.Steamworks.Win64.dll -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/Facepunch/Facepunch.Steamworks.Win64.xml.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ea452b431085aed499c01339e89fce8b 3 | TextScriptImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/Facepunch/redistributable_bin.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9eb418beccc204946862a1a8f099ec39 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/Facepunch/redistributable_bin/linux32.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: ce9561d2de976e74684ab44c5fec0813 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/Facepunch/redistributable_bin/linux32/libsteam_api.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RoundBearChoi/UnitySteamLobby/6a5da971fb3ae58949da9e205a8d29ac8baa35b6/UnitySteamLobby/Assets/Facepunch/redistributable_bin/linux32/libsteam_api.so -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/Facepunch/redistributable_bin/linux64.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 2b478e6d3d1ef9848b43453c8e68cd0d 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/Facepunch/redistributable_bin/linux64/libsteam_api.so: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RoundBearChoi/UnitySteamLobby/6a5da971fb3ae58949da9e205a8d29ac8baa35b6/UnitySteamLobby/Assets/Facepunch/redistributable_bin/linux64/libsteam_api.so -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/Facepunch/redistributable_bin/osx.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 93319165ca0834f41b428adbdad19105 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/Facepunch/redistributable_bin/osx/libsteam_api.bundle: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RoundBearChoi/UnitySteamLobby/6a5da971fb3ae58949da9e205a8d29ac8baa35b6/UnitySteamLobby/Assets/Facepunch/redistributable_bin/osx/libsteam_api.bundle -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/Facepunch/redistributable_bin/osx/libsteam_api.bundle.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7d6647fb9d80f5b4f9b2ff1378756bee 3 | PluginImporter: 4 | externalObjects: {} 5 | serializedVersion: 2 6 | iconMap: {} 7 | executionOrder: {} 8 | defineConstraints: [] 9 | isPreloaded: 0 10 | isOverridable: 0 11 | isExplicitlyReferenced: 0 12 | validateReferences: 1 13 | platformData: 14 | - first: 15 | Any: 16 | second: 17 | enabled: 0 18 | settings: {} 19 | - first: 20 | Editor: Editor 21 | second: 22 | enabled: 1 23 | settings: 24 | DefaultValueInitialized: true 25 | - first: 26 | Standalone: OSXUniversal 27 | second: 28 | enabled: 1 29 | settings: {} 30 | userData: 31 | assetBundleName: 32 | assetBundleVariant: 33 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/Facepunch/redistributable_bin/steam_api.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RoundBearChoi/UnitySteamLobby/6a5da971fb3ae58949da9e205a8d29ac8baa35b6/UnitySteamLobby/Assets/Facepunch/redistributable_bin/steam_api.dll -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/Facepunch/redistributable_bin/steam_api.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RoundBearChoi/UnitySteamLobby/6a5da971fb3ae58949da9e205a8d29ac8baa35b6/UnitySteamLobby/Assets/Facepunch/redistributable_bin/steam_api.lib -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/Facepunch/redistributable_bin/steam_api.lib.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 3ffd5813d91aefd459583d77d2e49ddd 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/Facepunch/redistributable_bin/win64.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 4080c4017456bde44a6f4b5915b8d27c 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/Facepunch/redistributable_bin/win64/steam_api64.dll: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RoundBearChoi/UnitySteamLobby/6a5da971fb3ae58949da9e205a8d29ac8baa35b6/UnitySteamLobby/Assets/Facepunch/redistributable_bin/win64/steam_api64.dll -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/Facepunch/redistributable_bin/win64/steam_api64.lib: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RoundBearChoi/UnitySteamLobby/6a5da971fb3ae58949da9e205a8d29ac8baa35b6/UnitySteamLobby/Assets/Facepunch/redistributable_bin/win64/steam_api64.lib -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/Facepunch/redistributable_bin/win64/steam_api64.lib.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: b7f47a56d1502a54aac85b9fadc6741e 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/Scenes.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 7daa270b2caad1a468824e5ac94db02f 3 | folderAsset: yes 4 | DefaultImporter: 5 | externalObjects: {} 6 | userData: 7 | assetBundleName: 8 | assetBundleVariant: 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/Assets/Scenes/SampleScene.unity.meta: -------------------------------------------------------------------------------- 1 | fileFormatVersion: 2 2 | guid: 9fc0d4010bbf28b4594072e72b8655ab 3 | DefaultImporter: 4 | externalObjects: {} 5 | userData: 6 | assetBundleName: 7 | assetBundleVariant: 8 | -------------------------------------------------------------------------------- /UnitySteamLobby/ProjectSettings/AudioManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!11 &1 4 | AudioManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Volume: 1 8 | Rolloff Scale: 1 9 | Doppler Factor: 1 10 | Default Speaker Mode: 2 11 | m_SampleRate: 0 12 | m_DSPBufferSize: 1024 13 | m_VirtualVoiceCount: 512 14 | m_RealVoiceCount: 32 15 | m_SpatializerPlugin: 16 | m_AmbisonicDecoderPlugin: 17 | m_DisableAudio: 0 18 | m_VirtualizeEffects: 1 19 | m_RequestedDSPBufferSize: 1024 20 | -------------------------------------------------------------------------------- /UnitySteamLobby/ProjectSettings/ClusterInputManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!236 &1 4 | ClusterInputManager: 5 | m_ObjectHideFlags: 0 6 | m_Inputs: [] 7 | -------------------------------------------------------------------------------- /UnitySteamLobby/ProjectSettings/DynamicsManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!55 &1 4 | PhysicsManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 11 7 | m_Gravity: {x: 0, y: -9.81, z: 0} 8 | m_DefaultMaterial: {fileID: 0} 9 | m_BounceThreshold: 2 10 | m_SleepThreshold: 0.005 11 | m_DefaultContactOffset: 0.01 12 | m_DefaultSolverIterations: 6 13 | m_DefaultSolverVelocityIterations: 1 14 | m_QueriesHitBackfaces: 0 15 | m_QueriesHitTriggers: 1 16 | m_EnableAdaptiveForce: 0 17 | m_ClothInterCollisionDistance: 0 18 | m_ClothInterCollisionStiffness: 0 19 | m_ContactsGeneration: 1 20 | m_LayerCollisionMatrix: ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff 21 | m_AutoSimulation: 1 22 | m_AutoSyncTransforms: 0 23 | m_ReuseCollisionCallbacks: 1 24 | m_ClothInterCollisionSettingsToggle: 0 25 | m_ContactPairsMode: 0 26 | m_BroadphaseType: 0 27 | m_WorldBounds: 28 | m_Center: {x: 0, y: 0, z: 0} 29 | m_Extent: {x: 250, y: 250, z: 250} 30 | m_WorldSubdivisions: 8 31 | m_FrictionType: 0 32 | m_EnableEnhancedDeterminism: 0 33 | m_EnableUnifiedHeightmaps: 1 34 | m_DefaultMaxAngluarSpeed: 7 35 | -------------------------------------------------------------------------------- /UnitySteamLobby/ProjectSettings/EditorBuildSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1045 &1 4 | EditorBuildSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_Scenes: 8 | - enabled: 1 9 | path: Assets/FPSProject1/GameScene.unity 10 | guid: 80ea63556e44d7e4e867f8e5ebe93e93 11 | m_configObjects: {} 12 | -------------------------------------------------------------------------------- /UnitySteamLobby/ProjectSettings/EditorSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!159 &1 4 | EditorSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 11 7 | m_ExternalVersionControlSupport: Visible Meta Files 8 | m_SerializationMode: 2 9 | m_LineEndingsForNewScripts: 0 10 | m_DefaultBehaviorMode: 0 11 | m_PrefabRegularEnvironment: {fileID: 0} 12 | m_PrefabUIEnvironment: {fileID: 0} 13 | m_SpritePackerMode: 0 14 | m_SpritePackerPaddingPower: 1 15 | m_EtcTextureCompressorBehavior: 1 16 | m_EtcTextureFastCompressor: 1 17 | m_EtcTextureNormalCompressor: 2 18 | m_EtcTextureBestCompressor: 4 19 | m_ProjectGenerationIncludedExtensions: txt;xml;fnt;cd;asmdef;rsp;asmref 20 | m_ProjectGenerationRootNamespace: 21 | m_CollabEditorSettings: 22 | inProgressEnabled: 1 23 | m_EnableTextureStreamingInEditMode: 1 24 | m_EnableTextureStreamingInPlayMode: 1 25 | m_AsyncShaderCompilation: 1 26 | m_EnterPlayModeOptionsEnabled: 0 27 | m_EnterPlayModeOptions: 3 28 | m_ShowLightmapResolutionOverlay: 1 29 | m_UseLegacyProbeSampleCount: 0 30 | m_SerializeInlineMappingsOnOneLine: 1 31 | -------------------------------------------------------------------------------- /UnitySteamLobby/ProjectSettings/MemorySettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!387306366 &1 4 | MemorySettings: 5 | m_ObjectHideFlags: 0 6 | m_EditorMemorySettings: 7 | m_MainAllocatorBlockSize: -1 8 | m_ThreadAllocatorBlockSize: -1 9 | m_MainGfxBlockSize: -1 10 | m_ThreadGfxBlockSize: -1 11 | m_CacheBlockSize: -1 12 | m_TypetreeBlockSize: -1 13 | m_ProfilerBlockSize: -1 14 | m_ProfilerEditorBlockSize: -1 15 | m_BucketAllocatorGranularity: -1 16 | m_BucketAllocatorBucketsCount: -1 17 | m_BucketAllocatorBlockSize: -1 18 | m_BucketAllocatorBlockCount: -1 19 | m_ProfilerBucketAllocatorGranularity: -1 20 | m_ProfilerBucketAllocatorBucketsCount: -1 21 | m_ProfilerBucketAllocatorBlockSize: -1 22 | m_ProfilerBucketAllocatorBlockCount: -1 23 | m_TempAllocatorSizeMain: -1 24 | m_JobTempAllocatorBlockSize: -1 25 | m_BackgroundJobTempAllocatorBlockSize: -1 26 | m_JobTempAllocatorReducedBlockSize: -1 27 | m_TempAllocatorSizeGIBakingWorker: -1 28 | m_TempAllocatorSizeNavMeshWorker: -1 29 | m_TempAllocatorSizeAudioWorker: -1 30 | m_TempAllocatorSizeCloudWorker: -1 31 | m_TempAllocatorSizeGfx: -1 32 | m_TempAllocatorSizeJobWorker: -1 33 | m_TempAllocatorSizeBackgroundWorker: -1 34 | m_TempAllocatorSizePreloadManager: -1 35 | m_PlatformMemorySettings: {} 36 | -------------------------------------------------------------------------------- /UnitySteamLobby/ProjectSettings/PackageManagerSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!114 &1 4 | MonoBehaviour: 5 | m_ObjectHideFlags: 61 6 | m_CorrespondingSourceObject: {fileID: 0} 7 | m_PrefabInstance: {fileID: 0} 8 | m_PrefabAsset: {fileID: 0} 9 | m_GameObject: {fileID: 0} 10 | m_Enabled: 1 11 | m_EditorHideFlags: 0 12 | m_Script: {fileID: 13964, guid: 0000000000000000e000000000000000, type: 0} 13 | m_Name: 14 | m_EditorClassIdentifier: 15 | m_EnablePreReleasePackages: 0 16 | m_EnablePackageDependencies: 0 17 | m_AdvancedSettingsExpanded: 1 18 | m_ScopedRegistriesSettingsExpanded: 1 19 | m_SeeAllPackageVersions: 0 20 | oneTimeWarningShown: 0 21 | m_Registries: 22 | - m_Id: main 23 | m_Name: 24 | m_Url: https://packages.unity.com 25 | m_Scopes: [] 26 | m_IsDefault: 1 27 | m_Capabilities: 7 28 | m_UserSelectedRegistryName: 29 | m_UserAddingNewScopedRegistry: 0 30 | m_RegistryInfoDraft: 31 | m_Modified: 0 32 | m_ErrorMessage: 33 | m_UserModificationsInstanceId: -832 34 | m_OriginalInstanceId: -834 35 | m_LoadAssets: 0 36 | -------------------------------------------------------------------------------- /UnitySteamLobby/ProjectSettings/PresetManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!1386491679 &1 4 | PresetManager: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 2 7 | m_DefaultPresets: {} 8 | -------------------------------------------------------------------------------- /UnitySteamLobby/ProjectSettings/ProjectVersion.txt: -------------------------------------------------------------------------------- 1 | m_EditorVersion: 2021.2.0f1 2 | m_EditorVersionWithRevision: 2021.2.0f1 (4bf1ec4b23c9) 3 | -------------------------------------------------------------------------------- /UnitySteamLobby/ProjectSettings/TagManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!78 &1 4 | TagManager: 5 | serializedVersion: 2 6 | tags: [] 7 | layers: 8 | - Default 9 | - TransparentFX 10 | - Ignore Raycast 11 | - 12 | - Water 13 | - UI 14 | - 15 | - 16 | - 17 | - 18 | - 19 | - 20 | - 21 | - 22 | - 23 | - 24 | - 25 | - 26 | - 27 | - 28 | - 29 | - 30 | - 31 | - 32 | - 33 | - 34 | - 35 | - 36 | - 37 | - 38 | - 39 | - 40 | m_SortingLayers: 41 | - name: Default 42 | uniqueID: 0 43 | locked: 0 44 | -------------------------------------------------------------------------------- /UnitySteamLobby/ProjectSettings/TimeManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!5 &1 4 | TimeManager: 5 | m_ObjectHideFlags: 0 6 | Fixed Timestep: 0.02 7 | Maximum Allowed Timestep: 0.33333334 8 | m_TimeScale: 1 9 | Maximum Particle Timestep: 0.03 10 | -------------------------------------------------------------------------------- /UnitySteamLobby/ProjectSettings/UnityConnectSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!310 &1 4 | UnityConnectSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 1 7 | m_Enabled: 0 8 | m_TestMode: 0 9 | m_EventOldUrl: https://api.uca.cloud.unity3d.com/v1/events 10 | m_EventUrl: https://cdp.cloud.unity3d.com/v1/events 11 | m_ConfigUrl: https://config.uca.cloud.unity3d.com 12 | m_DashboardUrl: https://dashboard.unity3d.com 13 | m_TestInitMode: 0 14 | CrashReportingSettings: 15 | m_EventUrl: https://perf-events.cloud.unity3d.com 16 | m_Enabled: 0 17 | m_LogBufferSize: 10 18 | m_CaptureEditorExceptions: 1 19 | UnityPurchasingSettings: 20 | m_Enabled: 0 21 | m_TestMode: 0 22 | UnityAnalyticsSettings: 23 | m_Enabled: 0 24 | m_TestMode: 0 25 | m_InitializeOnStartup: 1 26 | UnityAdsSettings: 27 | m_Enabled: 0 28 | m_InitializeOnStartup: 1 29 | m_TestMode: 0 30 | m_IosGameId: 31 | m_AndroidGameId: 32 | m_GameIds: {} 33 | m_GameId: 34 | PerformanceReportingSettings: 35 | m_Enabled: 0 36 | -------------------------------------------------------------------------------- /UnitySteamLobby/ProjectSettings/VFXManager.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!937362698 &1 4 | VFXManager: 5 | m_ObjectHideFlags: 0 6 | m_IndirectShader: {fileID: 0} 7 | m_CopyBufferShader: {fileID: 0} 8 | m_SortShader: {fileID: 0} 9 | m_StripUpdateShader: {fileID: 0} 10 | m_RenderPipeSettingsPath: 11 | m_FixedTimeStep: 0.016666668 12 | m_MaxDeltaTime: 0.05 13 | -------------------------------------------------------------------------------- /UnitySteamLobby/ProjectSettings/VersionControlSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!890905787 &1 4 | VersionControlSettings: 5 | m_ObjectHideFlags: 0 6 | m_Mode: Visible Meta Files 7 | m_CollabEditorSettings: 8 | inProgressEnabled: 1 9 | -------------------------------------------------------------------------------- /UnitySteamLobby/ProjectSettings/XRSettings.asset: -------------------------------------------------------------------------------- 1 | { 2 | "m_SettingKeys": [ 3 | "VR Device Disabled", 4 | "VR Device User Alert" 5 | ], 6 | "m_SettingValues": [ 7 | "False", 8 | "False" 9 | ] 10 | } -------------------------------------------------------------------------------- /UnitySteamLobby/ProjectSettings/boot.config: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/RoundBearChoi/UnitySteamLobby/6a5da971fb3ae58949da9e205a8d29ac8baa35b6/UnitySteamLobby/ProjectSettings/boot.config -------------------------------------------------------------------------------- /UnitySteamLobby/UserSettings/EditorUserSettings.asset: -------------------------------------------------------------------------------- 1 | %YAML 1.1 2 | %TAG !u! tag:unity3d.com,2011: 3 | --- !u!162 &1 4 | EditorUserSettings: 5 | m_ObjectHideFlags: 0 6 | serializedVersion: 4 7 | m_ConfigSettings: 8 | RecentlyUsedSceneGuid-0: 9 | value: 5a5757560101590a5d0c0e24427b5d44434e4c7a7b7a23677f2b4565b7b5353a 10 | flags: 0 11 | RecentlyUsedSceneGuid-1: 12 | value: 5b01510753065c0e5b0b587614745a44134f4e7d2a702365282b186ab1e56d6b 13 | flags: 0 14 | vcSharedLogLevel: 15 | value: 0d5e400f0650 16 | flags: 0 17 | m_VCAutomaticAdd: 1 18 | m_VCDebugCom: 0 19 | m_VCDebugCmd: 0 20 | m_VCDebugOut: 0 21 | m_SemanticMergeMode: 2 22 | m_DesiredImportWorkerCount: 2 23 | m_StandbyImportWorkerCount: 2 24 | m_IdleImportWorkerShutdownDelay: 60000 25 | m_VCShowFailedCheckout: 1 26 | m_VCOverwriteFailedCheckoutAssets: 1 27 | m_VCProjectOverlayIcons: 1 28 | m_VCHierarchyOverlayIcons: 1 29 | m_VCOtherOverlayIcons: 1 30 | m_VCAllowAsyncUpdate: 1 31 | m_ArtifactGarbageCollection: 1 32 | -------------------------------------------------------------------------------- /UnitySteamLobby/UserSettings/Search.settings: -------------------------------------------------------------------------------- 1 | {} --------------------------------------------------------------------------------