How to get Factory

Let’s say I need to get some factory of a specific type for my own evil needs.

Something like:

UActorFactory* factory = Factories::GetFactory<UActorFactory>();

What is the method to do this?

Thanks!