First, i’m sorry for my poor english skill.
I want to make independent function from update function.
It is for “Check” function
for example,
void Check(){
…
}
and if it is finished, it will start again likely recursive function.
void Check(){
…
Check();
}
so, i use “Coroutine”
IEnumerator Check(){
…
yield return new StartCoroutine(Check());
}
but, they have many problems.
i have other heavy function. i want to input it in “Check” function
IEnumerator Check(){
HeavyLogic();
yield return new StartCoroutine(Check());
}
i want to divide this heavy function. but if i use Coroutine, it will be stupid sequence!!
Results that i want are these
help me please…
in short, one is loop check function, the other is dividing heavy logic in check function
