2025-02-19 17:24:26 +09:00
|
|
|
using System.Linq;
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
using UnityEngine.EventSystems;
|
|
|
|
|
using UnityEngine.UI;
|
|
|
|
|
using UnityEngine.UI.Extensions;
|
2025-02-21 11:57:09 +09:00
|
|
|
using XRLib.UI;
|
2025-02-19 17:24:26 +09:00
|
|
|
using XED.UI;
|
|
|
|
|
using static DrawLine;
|
|
|
|
|
|
|
|
|
|
namespace XED
|
|
|
|
|
{
|
|
|
|
|
public class ConnectionHandlePoint : UIBase, IPointerDownHandler
|
|
|
|
|
{
|
|
|
|
|
public void OnPointerDown(PointerEventData eventData)
|
|
|
|
|
{
|
|
|
|
|
//clickPos = new Vector2(eventData.position.x + rectTransform.rect.x, eventData.position.y + rectTransform.rect.y);
|
|
|
|
|
FindFirstObjectByType<Canvas_Component>().Connect(this);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|