Question by
Jordj093 · Nov 12, 2019 at 05:46 PM ·
eventsystemeventsnpcs
How do I keep methods being called until the current one has finished running
Im using a unity event for basic NPC behaviours and am having problems with event flow. It needs to wait until the first method has been run before resuming and running the next one. Is their anyway to acheive this? It needs to work a little like this.
Behaviour1();
//Wait until completed;
Behaviour2();
//Rest of code
Comment