Enum ObservableAttributeOptions | ML Agents | 1.6.0-preview
docs.unity.cn
    Show / Hide Table of Contents

    Enum ObservableAttributeOptions

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

    Namespace: Unity.MLAgents.Policies
    Syntax
    public enum ObservableAttributeOptions

    Fields

    Name Description Value
    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.

    0
    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.

    1
    ExamineAll

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

    2
    Back to top Copyright © 2020 Unity Technologies
    Generated by DocFX
    on 20 November 2020