Files
BookRPG/Library/PackageCache/com.unity.2d.common@edfe77495b67/Path/Editor/Selection/PointRectSelector.cs
2026-07-16 21:49:59 +01: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);
}
}
}