Llame a Ienumerator Unity
IEnumerator test()
{
//your code here
}
void Start()
{
StartCoroutine(test);
}
Stormy Salamander
IEnumerator test()
{
//your code here
}
void Start()
{
StartCoroutine(test);
}