mirror of
https://github.com/tym1116/BH3.git
synced 2025-12-19 09:54:46 +01:00
24 lines
422 B
C#
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;
|
|
}
|
|
}
|
|
}
|