PlayModeTestUtilities.WaitForInputSystemUpdate Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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