public void ChangeTextContent(string widageName, string content) { UIBehavriour tmpBehaviour = GetBehaviour(widageName); if (tmpBehaviour != null) { tmpBehaviour.ChangeTextContent(content); } }
//获取文字信息 public void AddInputFiledListen(string wedgateName, UnityAction <string> action) { UIBehavriour tmpBehavriour = GetBehavriour(wedgateName); if (tmpBehavriour != null) { tmpBehavriour.AddInputFiledEndEditorListen(action); } }
public void AddButtonListen(string widageName, UnityAction action) { UIBehavriour tmpBehaviour = GetBehaviour(widageName); if (tmpBehaviour != null) { tmpBehaviour.AddButtonListen(action); } }
/*添加拖拽事件*/ public void AddDrag(string wedgateName, UnityAction <BaseEventData> action) { UIBehavriour tmpBehavriour = GetBehavriour(wedgateName); if (tmpBehavriour != null) { tmpBehavriour.AddDragInterface(action); } }