fgm24/Assets/Scripts/Multiplayer/LocalLobbySaver.cs

16 lines
336 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class LocalLobbySaver : MonoBehaviour
{
//public Lobby? currentLobby; // Not needed i think, for local
public static LocalLobbySaver Instance;
private void Awake()
{
Instance = this;
DontDestroyOnLoad(this);
}
}