예제 #1
0
 public static EntityType Create(Type type)
 {
     return(new EntityType(EntityTypeManager.GetTypeIndex(type)));
 }
예제 #2
0
 public static EntityType Create <T>()
 {
     return(new EntityType(EntityTypeManager.GetTypeIndex <T>()));
 }