using UnityEngine; | |
namespace Unity.MLAgents.Sensors | |
{ | |
/// <summary> | |
/// A component for 2D Ray Perception. | |
/// </summary> | |
[ | ]|
public class RayPerceptionSensorComponent2D : RayPerceptionSensorComponentBase | |
{ | |
/// <inheritdoc/> | |
public override RayPerceptionCastType GetCastType() | |
{ | |
return RayPerceptionCastType.Cast2D; | |
} | |
} | |
} | |