Files
BH3/Assets/Plugins/Assembly-CSharp-firstpass/BehaviorDesigner/Runtime/Tasks/RequiredComponentAttribute.cs
2025-08-13 09:26:42 +08:00

24 lines
422 B
C#

using System;
namespace BehaviorDesigner.Runtime.Tasks
{
[AttributeUsage(AttributeTargets.Class, AllowMultiple = true, Inherited = false)]
public class RequiredComponentAttribute : Attribute
{
public readonly Type mComponentType;
public Type ComponentType
{
get
{
return mComponentType;
}
}
public RequiredComponentAttribute(Type componentType)
{
mComponentType = componentType;
}
}
}