docs.unity3d.com
    Show / Hide Table of Contents

    Class CommunicatorFactory

    Factory class for an ICommunicator instance. This is used to the Academy at startup. By default, on desktop platforms, an ICommunicator will be created and attempt to connect to a trainer. This behavior can be prevented by setting Enabled to false before the Academy is initialized.

    Inheritance
    Object
    CommunicatorFactory
    Namespace: Unity.MLAgents
    Syntax
    public static class CommunicatorFactory : object

    Properties

    Enabled

    Whether or not an ICommunicator instance will be created when the Academy is initialized. Changing this has no effect after the Academy has already been initialized.

    Declaration
    public static bool Enabled { get; set; }
    Property Value
    Type Description
    Boolean
    In This Article
    • Properties
      • Enabled
    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