Revert "Merging"

This reverts commit b180875539.
This commit is contained in:
DerTyp187
2021-12-16 22:03:10 +01:00
parent b180875539
commit 151f63c9fb
54 changed files with 6 additions and 8378 deletions

View File

@@ -1,24 +0,0 @@
using Mirror;
using UnityEngine;
using TMPro;
public class MenuStartClient : MonoBehaviour
{
[SerializeField] private TMP_InputField IpInput;
[SerializeField] private TMP_InputField UsernameInput;
public void StartClient()
{
if(UsernameInput.text != "")
{
Debug.Log("[MENU] Starting client...");
GameObject.FindGameObjectWithTag("VariableSaver").GetComponent<VariableSaver>().username = UsernameInput.text;
NetworkManager.singleton.networkAddress = IpInput.text;
if(IpInput.text != "")
{
NetworkManager.singleton.StartClient();
}
}
}
}