/** Assign the assigned asset to the supplied component */ bool FComponentAssetBrokerage::AssignAssetToComponent(UActorComponent* InComponent, UObject* InAsset) { InitializeMap(); if (InComponent != NULL) { TSharedPtr<IComponentAssetBroker> Broker = FindBrokerByComponentType(InComponent->GetClass()); if (Broker.IsValid()) { return Broker->AssignAssetToComponent(InComponent, InAsset); } } return false; }