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.
|
- using System;
-
- namespace Svelto.ECS
- {
- public static class EntityDescriptorTemplate<TType> where TType : IEntityDescriptor, new()
- {
- static EntityDescriptorTemplate()
- {
- realDescriptor = new TType();
- descriptor = realDescriptor;
- }
-
- public static TType realDescriptor { get; }
- public static Type type => typeof(TType);
- public static IEntityDescriptor descriptor { get; }
- }
- }
|