How can I bundle a C++ class into a blueprint project?

So I have done my C++ class extending BlueprintFunctionLibrary and all is well.

I’d like to package it to share it to my other projects that do not have C++ initiated at all (keeps the projects size small)

Is there a way to do so?

I have tried

  • exporting it but it’s grayed out
  • implementing them in a wrapper blueprint function library and export that uasset… But then the caller using the lib can’t find the C++ anyway (I thought it may compile it into the uasset).

Do I have to whack it in the engine source (which sounds like a terrible idea)? - if so, where?

Plugin seems overkill for this…

thank you for your time.

I think it’s only possible via plugins

Thanks - can anyone confirm, that the only way is via plugins?