예제 #1
0
파일: UIBase.cs 프로젝트: guojian9527/Test
    public void AddUpdateSelectedListener(string panelName, string widgetName, UnityAction <BaseEventData> action)
    {
        UIBehaviour uiBehaviour = GetUIBehaviour(panelName, widgetName);

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