Basic player select screen

This commit is contained in:
RochesterX
2025-02-16 16:47:45 -05:00
parent f688173770
commit 543590347a
27 changed files with 8706 additions and 142 deletions

View File

@@ -15,14 +15,14 @@ public class HubManager : MonoBehaviour
public void LoadScene(string sceneName)
{
hubCamera.SetActive(true);
UnloadGameScene();
hubCamera.SetActive(false);
SceneManager.LoadScene(sceneName, LoadSceneMode.Additive);
}
public void UnloadGameScene()
{
hubCamera.SetActive(false);
hubCamera.SetActive(true);
try
{
SceneManager.UnloadSceneAsync(SceneManager.GetSceneAt(1));