Documentation

Unity Engine


User Manual

Script Reference

Unity Engine


ProcessOne()

This function can called in the main thread to force the execution of one enqueued action.
Read time 1 minuteLast updated 12 days ago

Definition

public static bool ProcessOne()

Returns

Type

Description

boolReturns true if an enqueued action was processed.

Remarks

This can be used to prevent the main thread from waiting for an action to be executed later. We usually use this function internally when we process a synchronous search request using SearchService.Request with SearchFlags.Synchronous.