Files
defrain-shooter-unity/Assets/Scripts/VariableSaver.cs
DerTyp187 c56f1d4a49 added Ready, NameChange, LobbyTitleChange
Added the function "AuthHost" (lobby.cs) )which can be used to check if the request comes from a host
2021-11-28 20:20:11 +01:00

12 lines
171 B
C#

using UnityEngine;
public class VariableSaver : MonoBehaviour
{
public string username;
public void Awake()
{
DontDestroyOnLoad(gameObject);
}
}