using System.Collections; using System.Collections.Generic; using UnityEngine; /******************************************************************************** *Create By CG *Function 只读,滑条,多选框 *********************************************************************************/ namespace CG.UTility { /// /// 只读 /// public class MyReadOnlyAttribute : PropertyAttribute { } /// /// 滑条 /// public class MyRangeAttribute : PropertyAttribute { public float Min;//最小值 public float Max;//最大值 public MyRangeAttribute(float min, float max) { this.Min = min; this.Max = max; } } }