I am trying to run task in one tick so spamming input issue can be fixed
Wondering if there is any way to do it easily.
I was thinking to do something like GetAsyncTaskManager()->AddToInQueue(Task)
or something like RunOnNextTick(task)
Checking with my peers, and through UE’s docs, the most simple method should be seting up a schedule using FTimerHandle
There are multiple ways to handle the operation, which would depend on what your project is trying to achieve. You can find more ideas in the following thread:
Oh thanks for your suggestion.
I guess I can use TTimerManager::SetTimer with the FTimerHandle to call specific function with numbers ?
Or I can use FTimerManager::SetTimerForNextTick