Files
Dec2017-Script-Dump/UnityEngine/Experimental/UIElements/StyleSheets/StylePropertyAttribute.cs
T
2026-06-04 11:42:34 +02:00

35 lines
979 B
C#

using System;
namespace UnityEngine.Experimental.UIElements.StyleSheets
{
// Token: 0x02000363 RID: 867
[AttributeUsage(AttributeTargets.Property | AttributeTargets.Field, Inherited = false, AllowMultiple = false)]
internal class StylePropertyAttribute : Attribute
{
// Token: 0x0600351A RID: 13594 RVA: 0x0005742C File Offset: 0x0005562C
internal StylePropertyAttribute(string propertyName, StylePropertyID propertyID)
{
this.propertyName = propertyName;
this.propertyID = propertyID;
}
// Token: 0x0600351B RID: 13595 RVA: 0x00057444 File Offset: 0x00055644
public StylePropertyAttribute(string propertyName)
: this(propertyName, StylePropertyID.Custom)
{
}
// Token: 0x0600351C RID: 13596 RVA: 0x00057450 File Offset: 0x00055650
public StylePropertyAttribute()
: this(string.Empty)
{
}
// Token: 0x04000B72 RID: 2930
internal string propertyName;
// Token: 0x04000B73 RID: 2931
internal StylePropertyID propertyID;
}
}