Skip to content

Commit

Permalink
feat(UxmlTraitAttribute): mark DefaultValue property as obsolete
Browse files Browse the repository at this point in the history
  • Loading branch information
jonisavo committed Nov 25, 2022
1 parent 70925e2 commit 5ea20df
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Assets/UIComponents/Core/UxmlTraitAttribute.cs
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,7 @@ public sealed class UxmlTraitAttribute : Attribute
/// <summary>
/// Defines a default value for the trait.
/// </summary>
[Obsolete("Assign a default value using field and property initializers.")]
public object DefaultValue { get; set; }
}
}

0 comments on commit 5ea20df

Please sign in to comment.