docs.unity3d.com
    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
    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