docs.unity.cn
    Show / Hide Table of Contents

    Class ActuatorComponent

    Editor components for creating Actuators. Generally an IActuator component should have a corresponding ActuatorComponent.

    Inheritance
    Object
    ActuatorComponent
    Match3ActuatorComponent
    Namespace: Unity.MLAgents.Actuators
    Syntax
    public abstract class ActuatorComponent : MonoBehaviour

    Properties

    ActionSpec

    The specification of the possible actions for this ActuatorComponent. This must produce the same results as the corresponding IActuator's ActionSpec.

    Declaration
    public abstract ActionSpec ActionSpec { get; }
    Property Value
    Type Description
    ActionSpec
    See Also
    ActionSpec

    Methods

    CreateActuators()

    Create a collection of IActuators. This is called by the Agent during initialization.

    Declaration
    public abstract IActuator[] CreateActuators()
    Returns
    Type Description
    IActuator[]

    A collection of IActuators

    Back to top Copyright © 2021 Unity Technologies
    Generated by DocFX
    on Monday, November 8, 2021
    Terms of use