public void AddBtnOnClickListen(string panelName, string widgetName, UnityAction action) { UIBehaviour uiBehaviour = GetUIBehaviour(panelName, widgetName); if (uiBehaviour != null) { uiBehaviour.AddButtonOnClickListener(action); } }