Example #1
0
    public void AddButtonListener(string panelName, string widgetName, UnityAction <GameObject> action)
    {
        UIBehaviour uiBehaviour = GetUIBehaviour(panelName, widgetName);

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