So working on a game that is basically an RTS game. I have a master class that I want to handle the creation of units.
I’ve made a custom event that wants input of things like unit type, spawn location, rotation, etc. I’m wondering the best way to call that event from other blueprints? I will want multiple blueprints to be able to call this function, like structures, actors with trigger boxes, events, etc. I think what I need to do is make this class public somehow? Similar to how you can call GetPlayerController and get the camera from any other bp, I want to be able to call my ‘global’ UnitCreator from anywhere