Пример #1
0
    public void ChangeTextContent(string widageName, string content)
    {
        UIBehavriour tmpBehaviour = GetBehaviour(widageName);

        if (tmpBehaviour != null)
        {
            tmpBehaviour.ChangeTextContent(content);
        }
    }
Пример #2
0
    //获取文字信息
    public void AddInputFiledListen(string wedgateName, UnityAction <string> action)
    {
        UIBehavriour tmpBehavriour = GetBehavriour(wedgateName);

        if (tmpBehavriour != null)
        {
            tmpBehavriour.AddInputFiledEndEditorListen(action);
        }
    }
Пример #3
0
    public void AddButtonListen(string widageName, UnityAction action)
    {
        UIBehavriour tmpBehaviour = GetBehaviour(widageName);

        if (tmpBehaviour != null)
        {
            tmpBehaviour.AddButtonListen(action);
        }
    }
Пример #4
0
    /*添加拖拽事件*/
    public void AddDrag(string wedgateName, UnityAction <BaseEventData> action)
    {
        UIBehavriour tmpBehavriour = GetBehavriour(wedgateName);

        if (tmpBehavriour != null)
        {
            tmpBehavriour.AddDragInterface(action);
        }
    }