on the loading screen, how is initializing / loading of the actors done? I mean, some actors need to fill arrays or something, make calculations. For example I have some actors that need to create a neighbors-graph for finding neighbors later in the game.
Is there a usual way to do things like this? My idea is to implement an interface “LoadableActor” with a “Initialize()”-function. In the loading screen then after the level is loaded but before BeginPlay() is called call FindAllActorsWithInterface (don’t know the exact name now) and call the function on all actors in the level which implement the interface. Is there a better way?