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.

11 lines
349B

  1. using Svelto.ECS.Reference;
  2. namespace Svelto.ECS
  3. {
  4. //To do: this should be removed and the only reason it exists is to solve some edge case scenarios with
  5. //the publish/consumer pattern
  6. public struct EntityReferenceComponent:IEntityComponent, INeedEntityReference
  7. {
  8. public EntityReference selfReference { get; set; }
  9. }
  10. }