Search Unity

Tutorial: To Optimize slow methods by converting them to coroutines

Discussion in 'Community Learning & Teaching' started by URocks, Oct 11, 2021.

  1. URocks

    URocks

    Joined:
    May 1, 2014
    Posts:
    159
    In this tutorial, I will show you how to optimize slow methods in Unity by converting them to coroutines and then distribute the calculations over multiple frames. I made a small sample project where I am showing how from the completely unplayable game we will make the game with decent performance so the optimization will work perfectly. We will be using c# and the unity 2021.