示例#1
0
    public void AddEndDragListener(string panelName, string widgetName, UnityAction <BaseEventData> action)
    {
        UIBehaviour uiBehaviour = GetUIBehaviour(panelName, widgetName);

        if (uiBehaviour != null)
        {
            uiBehaviour.AddEndDragListener(action);
        }
    }