Question by
sr3ds · Jun 27, 2016 at 02:49 PM ·
scripting problemeditordelaycoroutines
Delay in Editor Script
Hi, i have a foreach cycle in a Editor Script function which creates a screenshot for a certain numbers of cameras just clicking a button.
The problem is that the process is probably complex and needs some sort of delay (like launching VS debug mode) to correctly complete the operation for every gameobject called, otherwise it seems to randomly skip half of the operations.
Obviously the script inherits from EditorWindow, so i can´t use any sort of coroutine for it, being it part of a Monobehaviour. Any suggestion on what to do?
Comment