mirror of
https://github.com/tym1116/BH3.git
synced 2025-12-19 09:54:46 +01:00
24 lines
357 B
C#
24 lines
357 B
C#
using System;
|
|
|
|
namespace BehaviorDesigner.Runtime.Tasks
|
|
{
|
|
[AttributeUsage(AttributeTargets.Class, AllowMultiple = false, Inherited = false)]
|
|
public class TaskNameAttribute : Attribute
|
|
{
|
|
public readonly string mName;
|
|
|
|
public string Name
|
|
{
|
|
get
|
|
{
|
|
return mName;
|
|
}
|
|
}
|
|
|
|
public TaskNameAttribute(string name)
|
|
{
|
|
mName = name;
|
|
}
|
|
}
|
|
}
|