Interface IPolicyGraph | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    Interface IPolicyGraph

    Interface for the policy graph

    Namespace: Unity.AI.Planner
    Syntax
    public interface IPolicyGraph

    Properties

    NextAction

    Action context for the optimal action at the root state of the graph

    Declaration
    ActionContext NextAction { get; }
    Property Value
    Type Description
    ActionContext

    Methods

    Reset(Entity)

    Resets the policy graph with a new state for the root

    Declaration
    void Reset(Entity stateEntity)
    Parameters
    Type Name Description
    Entity stateEntity

    Entity corresponding to the state for the new policy root

    UpdatePlan(Entity)

    Updates the policy root to the given state

    Declaration
    void UpdatePlan(Entity stateEntity)
    Parameters
    Type Name Description
    Entity stateEntity

    Entity corresponding to the state for the new policy root

    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