Commit 38ef476d authored by Martin Finkel's avatar Martin Finkel
Browse files

documentation.txt: update reference to coroutine/update function

Both ways work
parent 38c929f0
...@@ -27,7 +27,7 @@ LibVLC = new LibVLC(); ...@@ -27,7 +27,7 @@ LibVLC = new LibVLC();
MediaPlayer = new MediaPlayer(LibVLC); MediaPlayer = new MediaPlayer(LibVLC);
``` ```
The frame updating is done in a Unity coroutine The frame updating is done in a Unity coroutine or Update() function
``` ```
IntPtr texptr = MediaPlayer.GetFrame(out bool updated); IntPtr texptr = MediaPlayer.GetFrame(out bool updated);
if (updated) if (updated)
...@@ -36,7 +36,7 @@ if (updated) ...@@ -36,7 +36,7 @@ if (updated)
} }
``` ```
See UseRenderingPlugin.CallPluginAtEndOfFrames() for more details. See Update() function for more details.
Once that is all setup, you can create a new Media and start playback like so Once that is all setup, you can create a new Media and start playback like so
``` ```
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment