Class Match3ActuatorComponent
Actuator component for a Match3 game. Generates a Match3Actuator at runtime.
Inheritance
Match3ActuatorComponent
Inherited Members
Object.FindObjectsByType<T>(FindObjectsSortMode)
Object.FindObjectsByType<T>(FindObjectsInactive, FindObjectsSortMode)
Object.FindFirstObjectByType<T>()
Object.FindAnyObjectByType<T>()
Object.FindFirstObjectByType<T>(FindObjectsInactive)
Object.FindAnyObjectByType<T>(FindObjectsInactive)
Namespace: Unity.MLAgents.Integrations.Match3
Assembly: solution.dll
Syntax
[AddComponentMenu("ML Agents/Match 3 Actuator", 100)]
public class Match3ActuatorComponent : ActuatorComponent
Properties
| Name | Description |
|---|---|
| ActionSpec | The specification of the possible actions for this ActuatorComponent. This must produce the same results as the corresponding IActuator's ActionSpec. |
| ActuatorName | Name of the generated Match3Actuator object. Note that changing this at runtime does not affect how the Agent sorts the actuators. |
| ForceHeuristic | Force using the Agent's Heuristic() method to decide the action. This should only be used in testing. |
| RandomSeed | A random seed used in the actuator's heuristic, if needed. |
Methods
| Name | Description |
|---|---|
| CreateActuators() | Create a collection of IActuators. This is called by the Agent during initialization. |