Ok, gotcha! Well, if you can live with that your plugin requires the game to use a GameInstance that the plugin comes with, I think this is a nice way of “Spawning actors on level load”. Since the GameInstance is global for the project, this will take place in all levels loaded.
- Create a custom GameInstance class in the plugin. Override this function.
- In this function you can spawn the actors.
- Regarding clicking on actors in runtime: see this link. In addition, I believe this is also required.
- Regarding how to achieve the notification, there are many ways this can be achieved. What comes to mind first is event dispatchers (basically delegates in c++). You might want to use an interface aswell to make the notification a bit more generic?