using UnityEngine; using Kit; public class Test : MonoBehaviour { [System.Flags] public enum TestEnum { OptionA = 1 << 0, OptionB = 1 << 1, OptionC = 1 << 2, OptionD = 1 << 3, } // https://bitbucket.org/canistk/kit/src/master/Editor/MaskFieldDrawer.cs [MaskField(typeof(TestEnum))] TestEnum myTestEnum = 0; // https://bitbucket.org/canistk/kit/src/master/Editor/MinMaxSliderDrawer.cs [MinMaxSlider(-1f,1f)] Vector2 TestMinMaxRange = Vector2.zero; // Find more on https://bitbucket.org/canistk/kit/src/master/Editor/ } |
2020-02-23 20:09:09
2020-11-29 17:35:41
2019-11-27 12:09:08
2017-03-26 14:38:12
出發吧麥芬
新楓之谷
LoveLive!