Class ProgressBarAttribute
Inheritance
object
System.Attribute
UnityEngine.PropertyAttribute
ProgressBarAttribute
Implements
Inherited Members
UnityEngine.PropertyAttribute.order
System.Attribute.Equals(object)
System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.Assembly, System.Type, bool)
System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.MemberInfo, System.Type, bool)
System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.Module, System.Type, bool)
System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type)
System.Attribute.GetCustomAttribute(System.Reflection.ParameterInfo, System.Type, bool)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, bool)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.Assembly, System.Type, bool)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, bool)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.MemberInfo, System.Type, bool)
System.Attribute.GetCustomAttributes(System.Reflection.Module)
System.Attribute.GetCustomAttributes(System.Reflection.Module, bool)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.Module, System.Type, bool)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, bool)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type)
System.Attribute.GetCustomAttributes(System.Reflection.ParameterInfo, System.Type, bool)
System.Attribute.GetHashCode()
System.Attribute.IsDefaultAttribute()
System.Attribute.IsDefined(System.Reflection.Assembly, System.Type)
System.Attribute.IsDefined(System.Reflection.Assembly, System.Type, bool)
System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type)
System.Attribute.IsDefined(System.Reflection.MemberInfo, System.Type, bool)
System.Attribute.IsDefined(System.Reflection.Module, System.Type)
System.Attribute.IsDefined(System.Reflection.Module, System.Type, bool)
System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type)
System.Attribute.IsDefined(System.Reflection.ParameterInfo, System.Type, bool)
System.Attribute.Match(object)
System.Attribute.TypeId
object.Equals(object, object)
object.GetType()
object.MemberwiseClone()
object.ReferenceEquals(object, object)
object.ToString()
Namespace: NaughtyAttributes
Assembly: NaughtyAttributes.Core.dll
Syntax
[AttributeUsage(AttributeTargets.Field, AllowMultiple = false, Inherited = true)]
public class ProgressBarAttribute : DrawerAttribute, INaughtyAttribute
Constructors
ProgressBarAttribute(float, EColor)
Declaration
public ProgressBarAttribute(float maxValue, EColor color = EColor.Blue)
Parameters
Type | Name | Description |
---|---|---|
float | maxValue | |
EColor | color |
ProgressBarAttribute(string, EColor)
Declaration
public ProgressBarAttribute(string maxValueName, EColor color = EColor.Blue)
Parameters
Type | Name | Description |
---|---|---|
string | maxValueName | |
EColor | color |
ProgressBarAttribute(string, float, EColor)
Declaration
public ProgressBarAttribute(string name, float maxValue, EColor color = EColor.Blue)
Parameters
Type | Name | Description |
---|---|---|
string | name | |
float | maxValue | |
EColor | color |
ProgressBarAttribute(string, string, EColor)
Declaration
public ProgressBarAttribute(string name, string maxValueName, EColor color = EColor.Blue)
Parameters
Type | Name | Description |
---|---|---|
string | name | |
string | maxValueName | |
EColor | color |
Properties
Color
Declaration
public EColor Color { get; }
Property Value
Type | Description |
---|---|
EColor |
MaxValue
Declaration
public float MaxValue { get; set; }
Property Value
Type | Description |
---|---|
float |
MaxValueName
Declaration
public string MaxValueName { get; }
Property Value
Type | Description |
---|---|
string |
Name
Declaration
public string Name { get; }
Property Value
Type | Description |
---|---|
string |