Mirror of Svelto.ECS because we're a fan of it
Du kan inte välja fler än 25 ämnen
Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.
|
- 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; }
- }
- }
|