static ComponentFactory() { CmponentTypes = ObjectTypeStorage.GetTypes <BaseComponent>(); var rpositoryTypes = ObjectTypeStorage.GetTypes <IRpository>(); foreach (var type in rpositoryTypes) { CmponentTypes.Add(type); } }
public override void Awake() { var types = ObjectTypeStorage.GetTypes <BaseEntity>(); SetPropertiesName(types); }