Interface IActionScheduler<TStateKey, TStateData, TStateDataContext, TStateManager, TActionKey, TActionResult> | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Interface IActionScheduler<TStateKey, TStateData, TStateDataContext, TStateManager, TActionKey, TActionResult>

    An interface that marks an implementation of an action scheduler for a specific domain/planning definition that will schedule actions and report newly created states

    Namespace: Unity.AI.Planner.Jobs
    Syntax
    public interface IActionScheduler<TStateKey, TStateData, TStateDataContext, TStateManager, TActionKey, TActionResult>
        where TStateKey : struct, IEquatable<TStateKey> where TStateData : struct where TStateDataContext : struct, IStateDataContext<TStateKey, TStateData> where TStateManager : IStateManager<TStateKey, TStateData, TStateDataContext> where TActionKey : struct, IEquatable<TActionKey> where TActionResult : struct
    Type Parameters
    Name Description
    TStateKey

    StateKey type

    TStateData

    StateData type

    TStateDataContext

    StateDataContext type

    TStateManager

    StateManager type

    TActionKey

    ActionKey type

    TActionResult

    ActionResult type

    Properties

    CreatedStateInfo

    Output from action scheduler: List of newly created states w/ info

    Declaration
    NativeQueue<(TStateKey, TActionKey, TActionResult, TStateKey)> CreatedStateInfo { set; }
    Property Value
    Type Description
    NativeQueue<System.ValueTuple<TStateKey, TActionKey, TActionResult, TStateKey>>

    StateManager

    Input to action scheduler: Instance of the state manager

    Declaration
    TStateManager StateManager { set; }
    Property Value
    Type Description
    TStateManager

    UnexpandedStates

    Input to action scheduler: List of states to expand via scheduled actions

    Declaration
    NativeList<TStateKey> UnexpandedStates { set; }
    Property Value
    Type Description
    NativeList<TStateKey>

    Methods

    Schedule(JobHandle)

    Schedule job actions for delayed execution

    Declaration
    JobHandle Schedule(JobHandle inputDeps)
    Parameters
    Type Name Description
    JobHandle inputDeps
    Returns
    Type Description
    JobHandle
    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023