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

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