You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
445 B
18 lines
445 B
using System; |
|
|
|
namespace ET |
|
{ |
|
public class AIHandlerAttribute: BaseAttribute |
|
{ |
|
} |
|
|
|
[AIHandler] |
|
public abstract class AAIHandler |
|
{ |
|
// 检查是否满足条件 |
|
public abstract int Check(AIComponent aiComponent, AIConfig aiConfig); |
|
|
|
// 协程编写必须可以取消 |
|
public abstract ETTask Execute(AIComponent aiComponent, AIConfig aiConfig, ETCancellationToken cancellationToken); |
|
} |
|
} |