AIComponent.cs 334 B

123456789101112131415
  1. namespace ET
  2. {
  3. // 客户端挂在ClientScene上,服务端挂在Unit上
  4. [ComponentOf(typeof(Scene))]
  5. public class AIComponent: Entity, IAwake<int>, IDestroy
  6. {
  7. public int AIConfigId;
  8. public ETCancellationToken CancellationToken;
  9. public long Timer;
  10. public int Current;
  11. }
  12. }