untangle-puzzlegame/Library/PackageCache/com.unity.2d.common@bb1fc9b3d81b/Path/Editor/Selection/PointRectSelector.cs
2025-04-17 17:33:08 -04:00

14 lines
316 B
C#

using UnityEngine;
using UnityEditor;
namespace UnityEditor.U2D.Common.Path
{
internal class PointRectSelector : RectSelector<Vector3>
{
protected override bool Select(Vector3 element)
{
return guiRect.Contains(HandleUtility.WorldToGUIPoint(element), true);
}
}
}