Esempio n. 1
0
 public override void DrawSpecificGUI()
 {
     Strength = Mathf.Max(0, EditorGUILayout.Slider("Strength", Strength, 0, 1));
     Flow     = Mathf.Max(0, EditorGUILayout.FloatField("Flow", Flow));
     Radius   = Mathf.Max(0, EditorGUILayoutX.IntSlider("Radius", Radius, 0, 10));
 }