mirror of
https://github.com/DerTyp7/defrain-shooter-unity.git
synced 2025-10-29 20:52:10 +01:00
Added the function "AuthHost" (lobby.cs) )which can be used to check if the request comes from a host
12 lines
171 B
C#
12 lines
171 B
C#
using UnityEngine;
|
|
|
|
public class VariableSaver : MonoBehaviour
|
|
{
|
|
public string username;
|
|
|
|
public void Awake()
|
|
{
|
|
DontDestroyOnLoad(gameObject);
|
|
}
|
|
}
|