Chman / Moments

A quick GIF replay recorder for Unity
zlib License
856 stars 118 forks source link

Getting save status from main thread #14

Closed yosun closed 6 years ago

yosun commented 6 years ago

Is it possible to get the save status callback from the main thread (for updating UI, enabling game objects etc)

Chman commented 6 years ago

See this demo source file. Look for OnPreProcessingDone, OnFileSaveProgress and OnFileSaved. It's been a while since I've dug into Moments source code so I don't remember if it's totally thread safe... Worth a try though.