Hi there,
I am writing a small udp networking class that exports data and controls part of the world. To do this I have an actor (ANetworkCommunicator) that handles Udp sockets, sending, receiving, etc… and also needs ticking.
Now i’d like to be able to reference this actor without the need of creating a scene-linked member, member that searches for a given tag or argument everywhere I need.
What i’d really like is to be able to do like the GetPlayerPawn / GetPlayerController / etc…
Is it possible to automatically spawn and reference or register the scene instance of that actor and then have an accessor such as GetRegisteredActor([Simple arguments such as UWorld*])
?
I tried to use the GameInstance but If I have a Network-like member, there is no tick function, and I might want to have a different Networking Actor depending of the level.
Thansk !