Coroutines are great for tasks that are easy to break up into little chunks, but we still need threads for long-running blocking calls. Today’s article shows how you can mix some threads into your coroutines to easily combine these two kinds of asynchronous processes.
Posts Tagged coroutines
Today’s article is about
WebCall, a class to make Unity’s
WWW cleaner and easier to use. How could it be cleaner or easier than it already is? By adding C# events! Normally your web calls have lots of clutter around them, your logic gets split across functions, and handling the call is hard when the
MonoBehaviour get destroyed.
WebCall solves all these problems so your web calls are clean, easy, and robust. Read on for the source code and examples!