Hi,
When a custom event is triggered, does is it run in parallel or are all its instructions executed before resuming the flow?
In the first case, instruction C could be executed after event2 is trigger which would cause a bug.
Thanks
Hi,
When a custom event is triggered, does is it run in parallel or are all its instructions executed before resuming the flow?
In the first case, instruction C could be executed after event2 is trigger which would cause a bug.
Thanks
It does not wait for anything. If you need for something to happen before continuing the rest of the flow, add time related nodes such as Wait Until or Wait for Next Frame.
Ok thanks! I thought Unity was not multithread and instructions were executed in a sequential order, not in parallel.
Disregard my previous comment, I was misunderstanding how UVS reflection runtime hands out instructions to the thread in a custom event scenario.
The second image is correct, and Unity and UVS are not multithreaded by default.
Ok thanks for the information!