"c#" start coroutine code example
Example: how to start a coroutine in c#
void Start()
{
StartCoroutine(Test());
}
IEnumerator Test()
{
yield return new WaitForSeconds[2];
}
void Start()
{
StartCoroutine(Test());
}
IEnumerator Test()
{
yield return new WaitForSeconds[2];
}