Search Results for

    Show / Hide Table of Contents

    Class Coroutine

    Represents the state of Coroutine, can be used to query if the coroutine has finished.

    Inheritance
    object
    Coroutine
    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 Coroutine

    Constructors

    | Improve this Doc View Source

    Coroutine(CoroutineRunner, IEnumerable<CoroutineOption>)

    Declaration
    public Coroutine(CoroutineRunner runner, IEnumerable<CoroutineOption> coroutine)
    Parameters
    Type Name Description
    CoroutineRunner runner
    IEnumerable<CoroutineOption> coroutine

    Properties

    | Improve this Doc View Source

    IsFinished

    True if the coroutine is finished, false otherwise

    Declaration
    public bool IsFinished { get; }
    Property Value
    Type Description
    bool

    Methods

    | Improve this Doc View Source

    Stop()

    Mark coroutine as stopped, it will not be executed further

    Declaration
    public void Stop()

    Events

    | Improve this Doc View Source

    OnReset

    Declaration
    public event Action OnReset
    Event Type
    Type Description
    Action
    • Improve this Doc
    • View Source
    In This Article
    Back to top LobsterFramework documentation