Синтаксис:
Используется csharp
private IEnumerator example(){
.....
yield return new WaitForSeconds(2f);
......
StopCoroutine("example");
}
.....
yield return new WaitForSeconds(2f);
......
StopCoroutine("example");
}
Сейчас этот форум просматривают: Yandex [Bot] и гости: 16