using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using UnityEngine; using UnityEngine.UI; namespace SRMultiplayer.Networking { public class NetworkClientUI : MonoBehaviour { public List Panels = new List(); public GameObject UsernamePanel; public InputField UsernameInput; public GameObject ErrorPanel; public Text ErrorText; private void Awake() { UsernamePanel = transform.Find("Background/UsernamePanel").gameObject; UsernameInput = UsernamePanel.transform.Find("UsernameInput").GetComponent(); UsernamePanel.transform.Find("ConfirmButton").GetComponent