Start a co-routine function.
Namespace:
IBM.Watson.DeveloperCloud.Utilities
Assembly:
unity-documentation (in unity-documentation.exe) Version: 1.0.0.0 (1.0.0.0)
Syntax public static int Run(
IEnumerator routine
)
Parameters
- routine
- Type: System.CollectionsIEnumerator
The IEnumerator returns by the co-routine function the user is invoking.
Return Value
Type:
Int32Returns a ID that can be passed into Stop() to halt the co-routine.
See Also