docs.unity3d.com
Search Results for

    Show / Hide Table of Contents

    Enum ObservableAttributeOptions

    Options for controlling how the Agent class is searched for ObservableAttributes.

    Namespace: Unity.MLAgents.Policies
    Assembly: Unity.ML-Agents.dll
    Syntax
    public enum ObservableAttributeOptions

    Fields

    Name Description
    ExamineAll

    All members on the class will be examined. This can lead to slower startup times.

    ExcludeInherited

    Only members on the declared class will be examined; members that are inherited are ignored. This is a reasonable tradeoff between performance and flexibility.

    Ignore

    All ObservableAttributes on the Agent will be ignored. This is the default behavior. If there are no ObservableAttributes on the Agent, this will result in the fastest initialization time.

    In This Article
    Back to top
    Copyright © 2025 Unity Technologies — Trademarks and terms of use
    • Legal
    • Privacy Policy
    • Cookie Policy
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)