升级6.4.升级水,升级天气
This commit is contained in:
@@ -99,11 +99,22 @@ namespace WaveHarmonic.Crest
|
||||
[AttributeUsage(AttributeTargets.All, AllowMultiple = true, Inherited = false)]
|
||||
abstract class Decorator : PropertyAttribute { }
|
||||
|
||||
[Conditional(Symbols.k_UnityEditor)]
|
||||
sealed class Order : Decorator
|
||||
{
|
||||
public enum Placement { Heading, Below, Above }
|
||||
public Order(string target, Placement placement = Placement.Heading) { }
|
||||
}
|
||||
|
||||
[Conditional(Symbols.k_UnityEditor)]
|
||||
sealed class Layer : Decorator { }
|
||||
|
||||
[Conditional(Symbols.k_UnityEditor)]
|
||||
sealed class Stripped : Decorator { }
|
||||
sealed class Stripped : Decorator
|
||||
{
|
||||
public enum Style { None, PlatformTab, }
|
||||
public Stripped(Style style = Style.None, bool indent = false) { }
|
||||
}
|
||||
|
||||
[Conditional(Symbols.k_UnityEditor)]
|
||||
sealed class Delayed : Decorator { }
|
||||
@@ -111,6 +122,18 @@ namespace WaveHarmonic.Crest
|
||||
[Conditional(Symbols.k_UnityEditor)]
|
||||
sealed class Disabled : Decorator { }
|
||||
|
||||
[Conditional(Symbols.k_UnityEditor)]
|
||||
sealed class Required : Attribute { }
|
||||
|
||||
[Conditional(Symbols.k_UnityEditor)]
|
||||
sealed class PlatformTabs : Attribute { }
|
||||
|
||||
[Conditional(Symbols.k_UnityEditor)]
|
||||
sealed class CustomField : Attribute { }
|
||||
|
||||
[Conditional(Symbols.k_UnityEditor)]
|
||||
sealed class CustomLabel : Attribute { }
|
||||
|
||||
[Conditional(Symbols.k_UnityEditor)]
|
||||
sealed class AttachMaterialEditor : Attribute
|
||||
{
|
||||
@@ -153,25 +176,25 @@ namespace WaveHarmonic.Crest
|
||||
{
|
||||
[Flags]
|
||||
public enum Clamp { None = 0, Minimum = 1, Maximum = 2, Both = Minimum | Maximum }
|
||||
public Range(float minimum, float maximum, Clamp clamp = Clamp.Both, float scale = 1f, bool delayed = false, int step = 0, bool power = false) {}
|
||||
public Range(float minimum, float maximum, Clamp clamp = Clamp.Both, float scale = 1f, bool delayed = false, int step = 0, bool power = false) { }
|
||||
}
|
||||
|
||||
[Conditional(Symbols.k_UnityEditor)]
|
||||
sealed class Minimum : Decorator
|
||||
{
|
||||
public Minimum(float minimum) {}
|
||||
public Minimum(float minimum) { }
|
||||
}
|
||||
|
||||
[Conditional(Symbols.k_UnityEditor)]
|
||||
sealed class Maximum : Decorator
|
||||
{
|
||||
public Maximum(float maximum) {}
|
||||
public Maximum(float maximum) { }
|
||||
}
|
||||
|
||||
[Conditional(Symbols.k_UnityEditor)]
|
||||
sealed class WarnIfAbove : Decorator
|
||||
{
|
||||
public WarnIfAbove(float maximum) {}
|
||||
public WarnIfAbove(float maximum) { }
|
||||
}
|
||||
|
||||
[Conditional(Symbols.k_UnityEditor)]
|
||||
@@ -207,12 +230,47 @@ namespace WaveHarmonic.Crest
|
||||
}
|
||||
|
||||
[Conditional(Symbols.k_UnityEditor)]
|
||||
sealed class Predicated : Decorator
|
||||
sealed class Show : Decorator
|
||||
{
|
||||
public Predicated(Type type, string member, bool inverted = false, bool hide = false) { }
|
||||
public Predicated(Type type, bool inverted = false, bool hide = false) { }
|
||||
public Predicated(string property, bool inverted = false, object disableValue = null, bool hide = false) { }
|
||||
public Predicated(RenderPipeline rp, bool inverted = false, bool hide = false) { }
|
||||
public Show(Type type, string member, object value) { }
|
||||
public Show(Type type, string member) { }
|
||||
public Show(Type type) { }
|
||||
public Show(string property) { }
|
||||
public Show(string property, object value) { }
|
||||
public Show(RenderPipeline rp) { }
|
||||
}
|
||||
|
||||
[Conditional(Symbols.k_UnityEditor)]
|
||||
sealed class Hide : Decorator
|
||||
{
|
||||
public Hide(Type type, string member, object value) { }
|
||||
public Hide(Type type, string member) { }
|
||||
public Hide(Type type) { }
|
||||
public Hide(string property) { }
|
||||
public Hide(string property, object value) { }
|
||||
public Hide(RenderPipeline rp) { }
|
||||
}
|
||||
|
||||
[Conditional(Symbols.k_UnityEditor)]
|
||||
sealed class Enable : Decorator
|
||||
{
|
||||
public Enable(Type type, string member, object value) { }
|
||||
public Enable(Type type, string member) { }
|
||||
public Enable(Type type) { }
|
||||
public Enable(string property) { }
|
||||
public Enable(string property, object value) { }
|
||||
public Enable(RenderPipeline rp) { }
|
||||
}
|
||||
|
||||
[Conditional(Symbols.k_UnityEditor)]
|
||||
sealed class Disable : Decorator
|
||||
{
|
||||
public Disable(Type type, string member, object value) { }
|
||||
public Disable(Type type, string member) { }
|
||||
public Disable(Type type) { }
|
||||
public Disable(string property) { }
|
||||
public Disable(string property, object value) { }
|
||||
public Disable(RenderPipeline rp) { }
|
||||
}
|
||||
|
||||
[Conditional(Symbols.k_UnityEditor)]
|
||||
|
||||
Reference in New Issue
Block a user