Player selector separated

This commit is contained in:
RochesterX
2025-02-19 20:11:57 -05:00
parent feeebaafc9
commit 730a664158
11 changed files with 388 additions and 116 deletions

View File

@@ -5,11 +5,22 @@ using UnityEngine.UI;
public class HubManager : MonoBehaviour
{
public static HubManager Instance;
public GameObject hubCamera;
public GameObject gameButtonsParent;
private void Start()
{
if (Instance == null)
{
Instance = this;
}
else
{
Debug.Log("A HubManager already exists.");
Destroy(this.gameObject);
}
hubCamera.SetActive(true);
}