private void UpdateMyId() { if (!playerAssigned && myId != "null") { myIdText.text = "My ID: " + myId; if (cubeManager.GetCube(myId)) { playerController.SetPlayer(cubeManager.GetCube(myId)); playerAssigned = true; } } }