説明なし
選択できるのは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. }