Class Match3SensorComponent
Sensor component for a Match3 game.
Implements
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 Sensor", 50)]
public class Match3SensorComponent : SensorComponent, IDisposable
Properties
| Name | Description |
|---|---|
| ObservationType | Type of observation to generate. |
| SensorName | Name of the generated Match3Sensor object. Note that changing this at runtime does not affect how the Agent sorts the sensors. |
Methods
| Name | Description |
|---|---|
| CreateSensors() | Create the ISensors. This is called by the Agent when it is initialized. |
| Dispose() | Clean up the sensors created by CreateSensors(). |