I see the code:
WWW w = new WWW(url);
yield return w;
what kind of code is written inside the WWW class to make it support yield??
can I incorporate this into my custom classes??
I see the code:
WWW w = new WWW(url);
yield return w;
what kind of code is written inside the WWW class to make it support yield??
can I incorporate this into my custom classes??
As far as I know, this is not possible. However, it is possible to construct something very similar. This method is explained in my post in this thread:
http://forum.unity3d.com/viewtopic.php?p=208000&highlight=#208000
sounds really interesting ![]()
so the secret recipe is returning a Coroutine :o mmm…
thanx for the nice reply tomvds… cheers ![]()