The perfect solution would essentially be an Update() function that could be used within a coroutine
You could do something like this:
IEnumerator SomeName() {
while (true) {
//magical code here
yield return new WaitForEndOfFrame();
}
}
The perfect solution would essentially be an Update() function that could be used within a coroutine
You could do something like this:
IEnumerator SomeName() {
while (true) {
//magical code here
yield return new WaitForEndOfFrame();
}
}