Search Results for

    Show / Hide Table of Contents

    Class CoroutineRunner

    Manages coroutine running operations

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

    Properties

    | Improve this Doc View Source

    Size

    The number of Coroutines currently active

    Declaration
    public int Size { get; }
    Property Value
    Type Description
    int

    Methods

    | Improve this Doc View Source

    AddCoroutine(IEnumerable<CoroutineOption>)

    Add a coroutine to the running queue

    Declaration
    public Coroutine AddCoroutine(IEnumerable<CoroutineOption> coroutine)
    Parameters
    Type Name Description
    IEnumerable<CoroutineOption> coroutine

    The coroutine to be runned

    Returns
    Type Description
    Coroutine

    The Coroutine Object that represents the state of coroutine

    | Improve this Doc View Source

    Run()

    Run through coroutines added to the running queue in a FIFO order. Child coroutines can be added and runned dynamically.

    Declaration
    public void Run()
    | Improve this Doc View Source

    StopAllCoroutines()

    Declaration
    public void StopAllCoroutines()
    • Improve this Doc
    • View Source
    In This Article
    Back to top LobsterFramework documentation