Class ActuatorComponent
Editor components for creating Actuators. Generally an IActuator component should have a corresponding ActuatorComponent.
Inherited Members
UnityEngine.Component.guiText
UnityEngine.Component.guiElement
UnityEngine.Component.guiTexture
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
Methods
CreateActuator()
Create the IActuator. This is called by the Agent when it is initialized.
Declaration
public abstract IActuator CreateActuator()
Returns
Type | Description |
---|---|
IActuator | Created IActuator object. |