docs.unity.cn
Search Results for

    Show / Hide Table of Contents

    Class UnityAgentsException

    Contains exceptions specific to ML-Agents.

    Inheritance
    object
    Exception
    UnityAgentsException
    Implements
    ISerializable
    _Exception
    Inherited Members
    Exception.GetBaseException()
    Exception.ToString()
    Exception.GetObjectData(SerializationInfo, StreamingContext)
    Exception.GetType()
    Exception.Message
    Exception.Data
    Exception.InnerException
    Exception.TargetSite
    Exception.StackTrace
    Exception.HelpLink
    Exception.Source
    Exception.HResult
    Exception.SerializeObjectState
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.MemberwiseClone()
    Namespace: Unity.MLAgents
    Assembly: solution.dll
    Syntax
    [Serializable]
    public class UnityAgentsException : Exception, ISerializable, _Exception

    Constructors

    Name Description
    UnityAgentsException(SerializationInfo, StreamingContext)

    A constructor is needed for serialization when an exception propagates from a remoting server to the client.

    UnityAgentsException(string)

    When a UnityAgentsException is called, the timeScale is set to 0. The simulation will end since no steps will be taken.

    In This Article
    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