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.
|
- namespace Svelto.ECS.Serialization
- {
- public static class SerializationEntityDescriptorTemplate<TType> where TType : ISerializableEntityDescriptor, new()
- {
- static SerializationEntityDescriptorTemplate()
- {
- var serializableEntityDescriptor = new TType();
- hash = serializableEntityDescriptor.hash;
-
- entityDescriptor = (ISerializableEntityDescriptor) EntityDescriptorTemplate<TType>.descriptor;
- }
-
- public static uint hash { get; }
- public static ISerializableEntityDescriptor entityDescriptor { get; }
- }
- }
|