- Home /
How to wait in editor with EditorApplication.update
Hi, I want to know how can I wait for example 10 secondes in the editor to be sure all my opertaions are over before continue ?
Cause some things work with mono but not in the editor : - Coroutine doesn't work - Use a selfmade timer in the update and when timer is over change a boolean that is true to false and exit from a while in the OnGui function. This doesn't work and make all the process block in the while loop. - Maybe so use EditorApplication.update which is like a delegate but I've no idea of how it's working :x.
If someone can bring me some help on this, that can be really usefull é_è
Comment