暫無描述
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

PointRectSelector.cs 316B

12345678910111213
  1. using UnityEngine;
  2. using UnityEditor;
  3. namespace UnityEditor.U2D.Common.Path
  4. {
  5. internal class PointRectSelector : RectSelector<Vector3>
  6. {
  7. protected override bool Select(Vector3 element)
  8. {
  9. return guiRect.Contains(HandleUtility.WorldToGUIPoint(element), true);
  10. }
  11. }
  12. }