Skip to content

Commit

Permalink
feat(RootClassAttribute): use BaseTypeRequired attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
jonisavo committed Aug 29, 2022
1 parent 8d5c20f commit 1853095
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Assets/UIComponents/Core/RootClassAttribute.cs
Original file line number Diff line number Diff line change
@@ -1,8 +1,10 @@
using System;
using JetBrains.Annotations;

namespace UIComponents
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true)]
[BaseTypeRequired(typeof(UIComponent))]
public class RootClassAttribute : UIComponentEffectAttribute
{
private readonly string _className;
Expand Down

0 comments on commit 1853095

Please sign in to comment.