asynchronous - Delegate execution in Unity3d using c# -
i have callbacks implements in unity3d game in such way nested,i.e. 1 callback leads call, callback leads call , on upto 5 times. last 2 callbacks losing order. before second last delegate finishes execution, last 1 gets executed! using delegates means of message transfer (other way implement interfaces). delegates in c# behave asynchronously chance? implementin callbacks using delegates , using interfaces should yield same results everytime, correct? , both synchronous? lead on issue helpful.
thanks
depending on how you're using delegates invocation order not specified. see: whats difference between nested method call , delegates?
Comments
Post a Comment