You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

15 lines
584 B
C#

3 years ago
using UnityEditor;
using UnityEngine;
namespace FluffyGroomingTool {
public class PainterAddSpacingUI {
public float paintDistanceBetweenStrands = 0.3f;
public void drawAddFurSpacingUI(PainterBrushTypeUI brushMenu, PainterProperties p) {
if (p.type == (int) PaintType.ADD_FUR) {
GUILayout.BeginVertical(brushMenu.BrushDetailsStyle);
paintDistanceBetweenStrands = EditorGUILayout.Slider("Strands spacing:", paintDistanceBetweenStrands, 0, 1);
GUILayout.EndVertical();
}
}
}
}