EntityViewTemplate.txt 405 B

1234567891011121314151617
  1. using <#ProductName>.Battle.Components.AI;
  2. using XGame.Framework.Map;
  3. namespace <#ProductName>.Map
  4. {
  5. public class <#KeyName>View : EntityView<<#KeyName>VM>, I<#KeyName>AIContext
  6. {
  7. public <#KeyName>AI AI => GetComponent<<#KeyName>AI>();
  8. protected override void OnEnable(object intent)
  9. {
  10. }
  11. protected override void OnDisable()
  12. {
  13. }
  14. }
  15. }