Mirror of Svelto.ECS because we're a fan of it
選択できるのは25トピックまでです。 トピックは、先頭が英数字で、英数字とダッシュ('-')を使用した35文字以内のものにしてください。

EntityReferenceComponent.cs 349B

1234567891011
  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. }