function abc(){
while(def < ghi)
{
print(Time.time)
yield;
}
}
what its function of yield;?
How it work with yield and without yield?
I did but want to know more detailed info. Reference does not have yield itself.
Thanks.
function abc(){
while(def < ghi)
{
print(Time.time)
yield;
}
}
what its function of yield;?
How it work with yield and without yield?
I did but want to know more detailed info. Reference does not have yield itself.
Thanks.
False! It has its own page in the Scripting Overview!
http://unity3d.com/support/documentation/ScriptReference/index.Coroutines_26_Yield.html
Very thanks!

Supports a simple iteration over a non-generic collection.
IEnumerator Interface (System.Collections) | Microsoft Learn
I like the way Unity Technologies was actually able to explain how to use something, unlike the creators of the framework. ![]()
The following code example demonstrates the implementation
What examples?! Nothing follows!
Yield means Wait ^.^