void Start() { //Add a random Enemy and it is a random type int[] i = { Random.Range(0, 2), Random.Range(0, botType.Length()) }; bots.Add(i); m_LobbyTopPanel = TopPanelGO.GetComponent <LobbyTopPanel>(); if (nameScenesToLoad.Length > 0) { playScene = nameScenesToLoad[0]; } currentPlayers = new Dictionary <int, int> (); s_Singleton = this; _lobbyHooks = GetComponent <Prototype.NetworkLobby.LobbyHook>(); currentPanel = mainMenuPanel; topPanel.gameObject.SetActive(false); InputField[] Inputs = partyAttributes.GetComponentsInChildren <InputField>(); tfLife = Inputs[0]; tfStone = Inputs[1]; GetComponent <Canvas>().enabled = true; DontDestroyOnLoad(gameObject); SetServerInfo("Offline", "None"); }