Пример #1
0
 public void nextColor()
 {
     characterScript.setTarget(target);
     value = (value + 1) == colors.Count ? 0 : value + 1;
     characterScript.PickColor(colors[value]);
     label.text = colorNames[value];
 }
 public void nextColor()
 {
     characterScript.setTarget(targetBody);
     value = (value + 1) == colors.Count ? 0 : value + 1;
     characterScript.PickColor(colors[value]);
     characterScript.setTarget(targetHead);
     characterScript.PickColor(colors[value]);
     characterScript.setTarget(targetEars);
     characterScript.PickColor(colors[value]);
     label.text = "Skin " + value.ToString();
 }