As per the docs, this function takes 3 parameters:
public static void QueueStateEvent<TState>(InputDevice device, TState state, double time = -1)
But it seems like whatever value I put in the time parameter, it’s ignored. I tried putting seconds, millis, seconds + Time.time - the event is still executed immediately. How is this parameter supposed to be used? And I’m not sure I understand its purpose fully.
What I’m trying to do is to call InputSystem.QueueStateEvent() several times, making sure the events are executed with a small delay from each other (say 50ms).
Am I doing it wrong?
Thanks!