When are UniTasks called during their update loops? Do they follow script execution order at all?
chris-janidlo opened this issue · 2 comments
chris-janidlo commented
For example, if a script at execution order position N queues up a UniTask, is that UniTask also updated at roughly execution order position N? Or are all UniTasks updated in a batch with essentially the same execution order position? (Depending of course on the order they were queued, as per #453.) And if so, where in the script execution order are they updated?
neuecc commented
UniTask itself does not have a predefined position.
However, if you specify a PlayerLoopTiming(for example Delay), it will run at that specific point in the PlayerLoop.
chris-janidlo commented
Does that mean with PlayerLoopTiming set to FixedUpdate or Update, it can execute at any arbitrary position?