using System; using System.Collections; using System.Collections.Generic; using DefaultNamespace.ProcessMode; using TMPro; using UnityEngine; using UnityEngine.UI; public class MaterialIssueDeliveryNoteManager : MonoBehaviour { public TMP_InputField kuguanyuan; public TMP_InputField cangkuzhuguanshenhe; public TMP_InputField jihe; public TMP_InputField lingliaoyuan; public Button closebt; private void Start() { closebt.onClick.AddListener(() => { List inputList = new List(); inputList.Add(kuguanyuan.text); inputList.Add(cangkuzhuguanshenhe.text); inputList.Add(jihe.text); inputList.Add(lingliaoyuan.text); bool isSave = MotionFramework.MotionEngine.GetModule().HandleClick(inputList); if (isSave) { // 保存成功 Debug.Log("保存成功"); } }); } }