Search Results for

    Class Coroutines

    Inheritance
    object
    Coroutines
    Inherited Members
    object.GetType()
    object.MemberwiseClone()
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    Namespace: RedLoader
    Assembly: RedLoader.dll
    Syntax
    public class Coroutines

    Constructors

    Coroutines()

    Declaration
    public Coroutines()

    Methods

    Start(IEnumerator)

    Start a new coroutine.
    Coroutines are called at the end of the game Update loops.

    Declaration
    public static object Start(IEnumerator routine)
    Parameters
    Type Name Description
    IEnumerator routine

    The target routine

    Returns
    Type Description
    object

    An object that can be passed to Stop to stop this coroutine

    Stop(object)

    Stop a currently running coroutine

    Declaration
    public static void Stop(object coroutineToken)
    Parameters
    Type Name Description
    object coroutineToken

    The coroutine to stop