Beispiel #1
0
 public void SetColor(int color)
 {
     skinController.ChangeMaterialSettings(color == 0 ? 0 : 2);
     playerName.color = color == 0 ? Color.red : Color.blue;
 }
Beispiel #2
0
 public void ChangeColor(int index)
 {
     skinController.ChangeMaterialSettings(index);
 }