Class Match3SensorComponent
Sensor component for a Match3 game.
Namespace: Unity.MLAgents.Integrations.Match3
Syntax
public class Match3SensorComponent : SensorComponent, IDisposable
Properties
ObservationType
Type of observation to generate.
Declaration
public Match3ObservationType ObservationType { get; set; }
Property Value
Type | Description |
---|---|
Match3ObservationType |
SensorName
Name of the generated Match3Sensor object. Note that changing this at runtime does not affect how the Agent sorts the sensors.
Declaration
public string SensorName { get; set; }
Property Value
Type | Description |
---|---|
String |
Methods
CreateSensors()
Create the ISensors. This is called by the Agent when it is initialized.
Declaration
public override ISensor[] CreateSensors()
Returns
Type | Description |
---|---|
ISensor[] | Created ISensor objects. |
Overrides
Dispose()
Clean up the sensors created by CreateSensors().
Declaration
public void Dispose()