docs.unity3d.com
    Show / Hide Table of Contents

    Interface IMultiAgentGroup

    MultiAgentGroup interface for grouping agents to support multi-agent training.

    Namespace: Unity.MLAgents
    Syntax
    public interface IMultiAgentGroup

    Methods

    GetId()

    Get the ID of MultiAgentGroup.

    Declaration
    int GetId()
    Returns
    Type Description
    Int32

    MultiAgentGroup ID.

    RegisterAgent(Agent)

    Register agent to the MultiAgentGroup.

    Declaration
    void RegisterAgent(Agent agent)
    Parameters
    Type Name Description
    Agent agent

    The Agent to register.

    UnregisterAgent(Agent)

    Unregister agent from the MultiAgentGroup.

    Declaration
    void UnregisterAgent(Agent agent)
    Parameters
    Type Name Description
    Agent agent

    The Agent to unregister.

    Back to top
    Terms of use
    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