/// <summary> /// 添加拖拽结束事件 /// </summary> /// <param name="uiName"></param> /// <param name="action"></param> public void AddEndDrag(string uiName, UnityAction <BaseEventData> action) { UIBehaviour uiBehaviour = GetBehaviour(uiName); uiBehaviour.AddEndDrag(action); }