AngeliA
Search Results for

    Show / Hide Table of Contents

    Class Task

    Single unit to hold logic for TaskSystem. โš  Use global single instance from TaskSystem.PeekFromPool โš 

    Properties

    LocalFrame

    Frame that start from 0 when the task begins

    Declaration
    public int LocalFrame { get; }

    UserData

    Custom data for the internal logic

    Declaration
    public object UserData { get; }

    Methods

    FrameUpdate()

    This function is used to handle the internal logic.

    Declaration
    public abstract TaskResult FrameUpdate()
    Returns
    Type Description
    TaskResult

    "Continue" if the task should keep on after this frame. "End" if the task should end.

    OnEnd()

    This function is called when this task end

    Declaration
    public virtual void OnEnd()

    OnStart()

    This function is called when this task start

    Declaration
    public virtual void OnStart()
    Back to top ๐Ÿ„๐Ÿฆโ€โฌ›๐Ÿงฆ๐Ÿˆ๐ŸŽƒ๐Ÿ’“๐ŸŒนโ˜•๐Ÿดโ€โ˜ ๏ธ๐Ÿค