Mirror of Svelto.ECS because we're a fan of it
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.
|
- #if UNITY_ECS
- using Svelto.Common;
- using Unity.Entities;
- using Unity.Jobs;
-
- namespace Svelto.ECS.Extensions.Unity
- {
- public interface IUpdateBeforeSubmission
- {
- JobHandle BeforeSubmissionUpdate(JobHandle jobHandle);
- string name { get; }
- }
-
- public interface IUpdateAfterSubmission
- {
- JobHandle AfterSubmissionUpdate(JobHandle jobHandle);
- string name { get; }
- }
-
- public abstract class SubmissionEngine : SystemBase, IEngine
- {
- public EntityCommandBuffer ECB { get; internal set; }
-
- protected sealed override void OnUpdate() {}
-
- public string name => TypeToString.Name(this);
- }
- }
- #endif
|