using UnityEngine; namespace Unity.MLAgents.Sensors { /// /// A component for 2D Ray Perception. /// [AddComponentMenu("ML Agents/Ray Perception Sensor 2D", (int)MenuGroup.Sensors)] public class RayPerceptionSensorComponent2D : RayPerceptionSensorComponentBase { /// public override RayPerceptionCastType GetCastType() { return RayPerceptionCastType.Cast2D; } } }