using UnityEngine; using System; namespace Unity.MLAgents.Sensors { /// /// Editor components for creating Sensors. Generally an ISensor implementation should have a /// corresponding SensorComponent to create it. /// public abstract class SensorComponent : MonoBehaviour { /// /// Create the ISensors. This is called by the Agent when it is initialized. /// /// Created ISensor objects. public abstract ISensor[] CreateSensors(); } }