void Awake() { window = new Rect(10, 80, width, height); LT = this; //We get the name from the masterserver example, if you entered your name there ;). playerName = PlayerPrefs.GetString("playerName", ""); if (playerName == null || playerName == "") { playerName = "RandomName" + Random.Range(1, 999); } }