private static void onClickedSkinButton(SleekButton button) { int num = button.positionOffset_X / 50 + (button.positionOffset_Y - 40) / 50 * 5; Color color = Customization.SKINS[num]; Characters.paintSkin(color); MenuSurvivorsAppearanceUI.skinColorPicker.state = color; MenuSurvivorsAppearanceUI.updateFaces(color); }
private static void onSkinColorPicked(SleekColorPicker picker, Color color) { Characters.paintSkin(color); MenuSurvivorsAppearanceUI.updateFaces(color); }