Custom coroutines in Unity

December 1, 2015 in Game Engines, Programming, Source Code, Tips & Tricks, Unity by admin

unityLogo

Among all the shiny new features, there is a tiny one line in the Unity 5.3 release notes for a feature that I found useful and I think you will too. Custom coroutines, namely the new CustomYieldInstruction class, mean that you can now add your own coroutine yield operations in a very simple way.

For an article about how to use it, please follow this link.