/// <summary> /// Add an Action that will be run once, in the next frame, and then discarded /// </summary> public void RegisterNextFrameAction(Action F) { lock (nextFrameActions) { nextFrameActions.RegisterAction(F); } }