Have a non MonoBehaviour C# class so cannot use InvokeRepeating or Coroutines.
What is the best way to set up a repeated method call?
Have a non MonoBehaviour C# class so cannot use InvokeRepeating or Coroutines.
What is the best way to set up a repeated method call?
Pass your coroutine IEnumerator to a MonoBehaviour instance.