Added basic lobby

This commit is contained in:
2026-05-20 21:03:54 +01:00
parent 48f8ae6c08
commit 6055fba959
15 changed files with 1019 additions and 6 deletions

View File

@@ -1,4 +1,5 @@
using UnityEngine;
using UnityEngine.SceneManagement;
namespace PashaBibko.PenguinChase.Core
{
@@ -7,6 +8,10 @@ namespace PashaBibko.PenguinChase.Core
[RuntimeInitializeOnLoadMethod(RuntimeInitializeLoadType.BeforeSceneLoad)]
private static void LoadBoostrapScene()
{
// Makes sure the game onto the first scene
SceneManager.LoadScene(0);
// Loads the bootstrap object
GameObject go = Resources.Load<GameObject>("Bootstrap");
GameObject instance = Object.Instantiate(go);