AIComponentTemplate.txt 416 B

12345678910111213141516171819
  1. using XGame.Framework.Components;
  2. namespace <#ProductName>.Battle.Components.AI
  3. {
  4. public interface I<#KeyName>AIContext
  5. {
  6. }
  7. /// <summary>
  8. /// AI组件和具体的EntityView绑定,其他Component最好不要尝试获取AI组件
  9. /// </summary>
  10. public class <#KeyName>AI : Component<I<#KeyName>AIContext>
  11. {
  12. protected override void OnDispose()
  13. {
  14. }
  15. }
  16. }