From f049177e20a276049c61edbad631c1b2bbdd5706 Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 15 Oct 2020 19:05:22 +0800 Subject: -advanced inspector +odin --- .../Plugins/AdvancedInspector/Attributes/Angle.cs | 34 ---------------------- 1 file changed, 34 deletions(-) delete mode 100644 Assets/Plugins/AdvancedInspector/Attributes/Angle.cs (limited to 'Assets/Plugins/AdvancedInspector/Attributes/Angle.cs') diff --git a/Assets/Plugins/AdvancedInspector/Attributes/Angle.cs b/Assets/Plugins/AdvancedInspector/Attributes/Angle.cs deleted file mode 100644 index 8b80ade5..00000000 --- a/Assets/Plugins/AdvancedInspector/Attributes/Angle.cs +++ /dev/null @@ -1,34 +0,0 @@ -using System; - -namespace AdvancedInspector -{ - /// - /// Turns a float/int into a spinning knob. - /// Because... Fancy. - /// - [AttributeUsage(AttributeTargets.Field | AttributeTargets.Property)] - public class AngleAttribute : Attribute, IListAttribute - { - private float snap = -1; - - /// - /// Makes the control snap to the multiple of that value - /// Default; -1. Negative values turn this behaviour off. - /// - public float Snap - { - get { return snap; } - } - - public AngleAttribute() { } - - /// - /// If snap is -1, the snap is disable. - /// Snap makes the wheel "stick" to multiple of a fixed value. - /// - public AngleAttribute(float snap) - { - this.snap = snap; - } - } -} \ No newline at end of file -- cgit v1.1-26-g67d0