public static EntityType Create(Type type) { return(new EntityType(EntityTypeManager.GetTypeIndex(type))); }
public override string ToString() { return($"{TypeId} ({EntityTypeManager.GetTypeFromIndex(TypeId).Name})"); }
public static EntityType Create <T>() { return(new EntityType(EntityTypeManager.GetTypeIndex <T>())); }