public static ComponentType Create(Type type) { return new ComponentType(ComponentTypeManager.GetTypeIndex(type)); }
public static ComponentType Create<T>() { return new ComponentType(ComponentTypeManager.GetTypeIndex<T>()); }