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

18 行
498B

  1. using System;
  2. namespace Svelto.ECS
  3. {
  4. public static class EntityDescriptorTemplate<TType> where TType : IEntityDescriptor, new()
  5. {
  6. static EntityDescriptorTemplate()
  7. {
  8. realDescriptor = new TType();
  9. descriptor = realDescriptor;
  10. }
  11. public static TType realDescriptor { get; }
  12. public static Type type => typeof(TType);
  13. public static IEntityDescriptor descriptor { get; }
  14. }
  15. }