Ligue para o iEnumerator Unity
IEnumerator test()
{
//your code here
}
void Start()
{
StartCoroutine(test);
}
Stormy Salamander
IEnumerator test()
{
//your code here
}
void Start()
{
StartCoroutine(test);
}