Add Attribute property to processors

This commit is contained in:
VladV 2022-05-11 20:28:20 +03:00
parent 8f6af257c0
commit ae03a2ceda
2 changed files with 4 additions and 0 deletions

View File

@ -19,5 +19,7 @@ namespace TriInspector
public abstract class TriPropertyDisableProcessor<TAttribute> : TriPropertyDisableProcessor
where TAttribute : DisableBaseAttribute
{
[PublicAPI]
public TAttribute Attribute => (TAttribute) RawAttribute;
}
}

View File

@ -19,5 +19,7 @@ namespace TriInspector
public abstract class TriPropertyHideProcessor<TAttribute> : TriPropertyHideProcessor
where TAttribute : HideBaseAttribute
{
[PublicAPI]
public TAttribute Attribute => (TAttribute) RawAttribute;
}
}