public void SetPlayerName(string _PlayerName, bool _Random) { if (_Random) { string _Name = _NameManager.GetUsableName(); TextMesh.text = _Name; CurrentName = _Name; } else { TextMesh.text = _PlayerName; CurrentName = _PlayerName; } TextMesh.color = new Color(0.8f, 0.8f, 0.8f); TextMesh.fontStyle = FontStyle.Bold; TextMesh.alignment = TextAlignment.Center; TextMesh.anchor = TextAnchor.MiddleCenter; TextMesh.fontSize = 28; }