| 1234567891011121314151617 |
- using System;
- namespace BehaviorTree
- {
- [AttributeUsage(AttributeTargets.Class)]
- public class NodeAttribute : Attribute
- {
- public NodeType NodeType { get; set; }
- public Type ClassType { get; set; }
- public NodeAttribute(NodeType nodeType, Type classType)
- {
- this.NodeType = nodeType;
- this.ClassType = classType;
- }
- }
- }
|