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