public void AddMoveListener(string panelName, string widgetName, UnityAction <BaseEventData> action) { UIBehaviour uiBehaviour = GetUIBehaviour(panelName, widgetName); if (uiBehaviour != null) { uiBehaviour.AddMoveListener(action); } }