Mirror of Svelto.ECS because we're a fan of it
Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

20 linhas
614B

  1. #if UNITY_ECS
  2. namespace Svelto.ECS.SveltoOnDOTS
  3. {
  4. /// <summary>
  5. /// SubmissionEngine is a dedicated DOTS ECS Svelto.ECS engine that allows using the DOTS ECS
  6. /// EntityCommandBuffer for fast creation of DOTS entities
  7. /// </summary>
  8. public interface ISveltoOnDOTSStructuralEngine
  9. {
  10. DOTSOperationsForSvelto DOTSOperations { get; set; }
  11. string name { get; }
  12. //use case is i.e. to create archetypes once
  13. void OnOperationsReady();
  14. //use case is i.e. to operate once per submission on entities just created
  15. void OnPostSubmission();
  16. }
  17. }
  18. #endif