Question by
LuisArantes · Jul 12, 2017 at 07:44 AM ·
updateupdate functionupdate problemupdate-order
how's the relationship between updates?
if I have a script that, on update, calls a function that changes a public value and another script that, also on update, makes a conditional test using that value... how does that work in terms of order of events? (I want the first to set a flag and the second to test for flag, but i want the flag to reset after the test, so that it won't be permanently set... but i'm not sure of how to fit it in order.)
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612130048im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Game crashing when im trying to use Inapp update(Unity) 0 Answers
void Update() problem 1 Answer
fixed update is not being called 1 Answer
Loads of errors after upgrading to 2018.3.0f 0 Answers
Do Something Once 1 Answer