i created a blank plugin,i could not add an actor class to plugin,because there is no myclass.generated.h head file
i tried to follow this link Adding an Actor class to plugin? - C++ Gameplay Programming - Unreal Engine Forums
but it not work.
please help
You must export the class through plugin API.
In your IPluginInterface you’d declare a interface name. You’re supposed to make the actor class visible to external modules with the auto generated macro, like:
UCLASS()
class MYPLUGIN_API AMyActor : public AActor {
...
}
Cool,it works now
thank you very much, it saves me a lot of time!