Hey I was wondering the right way to get access to a class I created and put out into the scene. I made a variable for my custom class I created and put that variable in my character class. Though every time I go to assign it in the editor by the way of defaults it wont work. it just says my variable is none.
Here is my code
Well, as far as I know, Unreal keeps an actor map stored internally. So iterating over all actors of a type should be as fast as iterating over any other list/map. This being said, it still is iterating and shouldn’t be done every frame. But you won’t run into any problems if you only do it once to find a specific actor.