Simplify rule application and add in enable/disable rules

This commit is contained in:
Xevion
2020-05-19 08:30:09 -05:00
parent 37c18be20c
commit 9e1df1a0f1
6 changed files with 23 additions and 386 deletions

View File

@@ -1,4 +1,5 @@
using UnityEditor;
#if UNITY_EDITOR
using UnityEditor;
using UnityEngine;
[CustomEditor(typeof(BoidController))]
@@ -43,4 +44,5 @@ public class BoidControllerEditor : Editor {
controller.circleVertexCount = EditorGUILayout.IntSlider("Circle Vertex Count", controller.circleVertexCount, 4, 360);
controller.circleWidth = EditorGUILayout.Slider("Circle Line Width", controller.circleWidth, 0.01f, 1f);
}
}
}
#endif