void Awake() { SinglePlayerScript = GetComponent <SinglePlayerGUI>(); MultiPlayerScript = GetComponent <MultiplayerGUI>(); menuSelector = 0; btnHeight = 80; btnWidth = 300; space = btnHeight + 20; playerNameInput = PlayerPrefs.GetString("playerName" + Application.platform, ""); }
void Awake() { SinglePlayerScript=GetComponent<SinglePlayerGUI>(); MultiPlayerScript=GetComponent<MultiplayerGUI>(); menuSelector = 0; btnHeight = 80; btnWidth = 300; space=btnHeight+20; playerNameInput = PlayerPrefs.GetString("playerName" + Application.platform, ""); }