Ejemplo n.º 1
0
    public void AddCancelListener(string panelName, string widgetName, UnityAction <BaseEventData> action)
    {
        UIBehaviour uiBehaviour = GetUIBehaviour(panelName, widgetName);

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