Class SensorComponent
Editor components for creating Sensors. Generally an ISensor implementation should have a corresponding SensorComponent to create it.
Namespace: Unity.MLAgents.Sensors
Syntax
public abstract class SensorComponent : MonoBehaviour
Methods
CreateSensors()
Create the ISensors. This is called by the Agent when it is initialized.
Declaration
public abstract ISensor[] CreateSensors()
Returns
Type | Description |
---|---|
ISensor[] | Created ISensor objects. |