Unity中实现拖拽操作
一:UI元素 ——使用UI事件接口using UnityEngine;using UnityEngine.EventSystems;using UnityEngine.UI;public class Test : MonoBehaviour,IDragHandler{ private GameObject nowDrag_go;//当前拖拽的物体 public v...