Unity Ninja Unity 3D Forum
To have exclusive access to all downloads, recourses and links within this forum, a free registered account is required. Just a heads up Wink
Go down
Member [Lv. 1]
Member [Lv. 1]
Posts : 2
Points : 1067
Rep : 0
Join date : 2015-09-21
View user profile


on Sun Nov 01, 2015 4:54 pm
Hello everyone,

I am currently studying a script on how to spawn an object. I've come across this the statement StartCoroutine(). I am unsure how this statement works. I'm hoping you guys can help me figure it out. Thank you! Very Happy
Posts : 54
Points : 1936
Rep : -7
Join date : 2014-01-28
View user profile


on Wed Dec 09, 2015 8:20 pm

it's actually rather simple, it's just like a delay or what you want called mainly locally.

it goes like this


void Start()

IEnumerator NAME(float TIME)
    yield return new waitForSeconds(TIME);
    print("Called My Logic Register at http://vertualmyth.com/ for more deals :D");
Back to top
Permissions in this forum:
You cannot reply to topics in this forum