Cast to a class that exists in another plugin?
I have two plugins. PluginOne contains a custom Actor class called
From PluginTwo, I need to find that Actor, and cast to the class.
In PluginTwo, I have added the PluginOne module name into the modules list of Build.cs.
I can include the header, and Intelsense does not complain at:
When I try to build though, i get
Do I need to link something else to use a class cross-plugin like this? Or is there a different way to cast?
asked Nov 22 '16 at 05:28 PM in C++ Programming
Hi, does your ATick class have the API macro?
Here, TICKMODULE would be the name of the module/plugin where ATick is defined. This internally adds the DLL export code needed for separate DLLs to be able to access each other's definitions. This solved this kind of issues when I encountered them.
answered Mar 02 '17 at 02:53 AM
Follow this question
Once you sign in you will be able to subscribe for any updates here