public void SetIP(string name, string ip) { this.ip = ip.Trim (); GetComponentInChildren<Text> ().text = name.Trim(); }