Edytuj

Udostępnij za pośrednictwem


PlayModeTestUtilities.WaitForInputSystemUpdate Method

Definition

Sometimes it take a few frames for inputs raised via InputSystem.OnInput* to actually get sent to input handlers. This method waits for enough frames to pass so that any events raised actually have time to send to handlers. We set it fairly conservatively to ensure that after waiting all input events have been sent.

public:
 static System::Collections::IEnumerator ^ WaitForInputSystemUpdate();
public static System.Collections.IEnumerator WaitForInputSystemUpdate ();
static member WaitForInputSystemUpdate : unit -> System.Collections.IEnumerator
Public Shared Iterator Function WaitForInputSystemUpdate () As IEnumerator

Returns

Applies to