SK.ExecuteOnMain

static void ExecuteOnMain(Action action)

This will queue up some code to be run on StereoKit’s main thread! Immediately after StereoKit’s Step, all callbacks registered here will execute, and then removed from the list.

   
Action action Some code to run! This Action will persist in a list until after Step, at which point it is removed and dropped.




Found an issue with these docs, or have some additional questions? Create an Issue on Github!