- Home /
Executing a script after another
I need to execute two scripts in a precise order. The first one is the Locomotion script, after I need to override what locomotion did with an IK script. The problem is that both works during the LateUpdate and I'd like to avoid to couple the two scripts sending messages between them to synchronize their execution. Is there a way to give scripts a priority?
Thanks!
Answer by BlackArcane · Oct 18, 2012 at 12:32 PM
How about moving the contents of the second script to another function, which you will call in the first script's late update?
Your answer
Follow this Question
Related Questions
How to set starting order of scripts? 2 Answers
Is there a way to prioritise a certain touch input over another one? 0 Answers
Tips on managing animation states 2 Answers
Order execution of the same script puzzle? 1 Answer
How to make player attack animation play through without holding down a key. 0 Answers