mirror of
https://github.com/zoriya/Skillfight.git
synced 2026-06-11 22:37:01 +00:00
29 lines
515 B
C#
29 lines
515 B
C#
using UnityEngine;
|
|
|
|
public class SqlManager : MonoBehaviour {
|
|
|
|
[HideInInspector]
|
|
public const string url = "http://skillfight.gear.host/";
|
|
|
|
public int ID;
|
|
public string Username;
|
|
|
|
public string[] GroupID;
|
|
public int partyID;
|
|
|
|
[Space]
|
|
public bool inQueue = false;
|
|
|
|
private void Awake()
|
|
{
|
|
DontDestroyOnLoad(gameObject);
|
|
|
|
if (FindObjectsOfType(GetType()).Length > 1)
|
|
{
|
|
print(GetType());
|
|
Destroy(gameObject);
|
|
}
|
|
}
|
|
|
|
}
|