Class Match3ActuatorComponent
Actuator component for a Match3 game. Generates a Match3Actuator at runtime.
Namespace: Unity.MLAgents.Integrations.Match3
Syntax
public class Match3ActuatorComponent : ActuatorComponent
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 override ActionSpec ActionSpec { get; }
Property Value
Type | Description |
---|---|
ActionSpec |
Overrides
See Also
ActuatorName
Name of the generated Match3Actuator object. Note that changing this at runtime does not affect how the Agent sorts the actuators.
Declaration
public string ActuatorName { get; set; }
Property Value
Type | Description |
---|---|
String |
ForceHeuristic
Force using the Agent's Heuristic() method to decide the action. This should only be used in testing.
Declaration
public bool ForceHeuristic { get; set; }
Property Value
Type | Description |
---|---|
Boolean |
RandomSeed
A random seed used in the actuator's heuristic, if needed.
Declaration
public int RandomSeed { get; set; }
Property Value
Type | Description |
---|---|
Int32 |
Methods
CreateActuators()
Declaration
public override IActuator[] CreateActuators()
Returns
Type | Description |
---|---|
IActuator[] | A collection of IActuators |