RemoveFunction


void RemoveFunction(Action function); 

Removes a function from the internal Threadpool. If called during Unity’s update call, the current frame remains unaffected, and the removal occurs immediately after the update is finished.

Parameters

function

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

Example