ExecuteFunctionOnce


void ExecuteFunctionOnce(Action function); 

Executes the provided function once within the next frame. The DisableMultithreading feature does not affect this function.

Parameters

function

Function to be added. Only takes functions with no parameters and no return value.

Example