//keep the instance alive void FixedUpdate() { instance = this; }
// public Dictionary<int, ConnectedPlayerPanel> connected_players_ui; private void Awake() { inst = this; // connected_players_ui = new Dictionary<int, ConnectedPlayerPanel>(); }
// Use this for initialization void Start() { currentMenu = "Main"; //start off in the main menu upon level start matchName = "Temp Name: " + Random.Range(0, 5000); //setup a temp name that most likely won't show up again instance = this; }