Skip to content

Like Unity3D's coroutines, but for other Mono projects, like tools. This is a MonoTouch example, but feel free to modify for your own use.

Notifications You must be signed in to change notification settings

rozgo/Unity.Coroutine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

You can write yielding functions like this:


		
public IEnumerator StepBy () {
	Console.WriteLine("Hello from coroutine");
	yield return true;
	Console.WriteLine("This is another line");
	yield return true;
	Console.WriteLine("And the last line");
	yield return new WaitForCount(5);
	Console.WriteLine("Now I'm done");
}


About

Like Unity3D's coroutines, but for other Mono projects, like tools. This is a MonoTouch example, but feel free to modify for your own use.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages