Tick in Game Instance


I’m actually trying to get some global functionality in c++ that I want to run once per tick. Unfortunately, GameInstance does not have a tick or even a beginplay. So, Is there any way to make a global tick in c++?

One way: Spawn an actor and save a reference to it in your GameInstance. Implement your tick functionality in that actor.

Ok Thanks, I think I’ll do that on the BeginPlay of a Custom GameMode.