diff --git a/Assets/Mirror/Examples/_Common/Scripts/RandomColor.cs b/Assets/Mirror/Examples/_Common/Scripts/RandomColor.cs index 277b8beaa..3763e386b 100644 --- a/Assets/Mirror/Examples/_Common/Scripts/RandomColor.cs +++ b/Assets/Mirror/Examples/_Common/Scripts/RandomColor.cs @@ -21,8 +21,8 @@ void SetColor(Color32 _, Color32 newColor) public override void OnStartServer() { - // Only set the color once. Players may be respawned, - // and we don't want to keep changing their colors. + // Only set the color once. Players / objects may be unspawned and + // respawned and we don't want to keep changing their colors. if (color == Color.black) color = Random.ColorHSV(0f, 1f, 1f, 1f, 0.5f, 1f); }