Simple tu use and foolproof. It uses abstraction to make it almost invisible on your code and easy to reuse it.
-
Have the script in your project
-
Call MonoBehaviour dependent functions with
Static.MonoBehaviour
:
Static.MonoBehaviour.StartCoroutine(iEnumerator);
- Any Unity version
- Any pipeline (Build-in, URP, HDRP, etc)
⭐ Star if you like it
❤️️ Follow me for more