Ejemplo n.º 1
0
 public static EntityType Create(Type type)
 {
     return(new EntityType(EntityTypeManager.GetTypeIndex(type)));
 }
Ejemplo n.º 2
0
 public override string ToString()
 {
     return($"{TypeId} ({EntityTypeManager.GetTypeFromIndex(TypeId).Name})");
 }
Ejemplo n.º 3
0
 public static EntityType Create <T>()
 {
     return(new EntityType(EntityTypeManager.GetTypeIndex <T>()));
 }