暂无描述
您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

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. }