using System; using System.Collections.Generic; using DefaultNamespace.ProcessMode; using Framework.Manager; using MotionFramework; using TMPro; using UnityEngine; using UnityEngine.UI; namespace DefaultNamespace { public class OutboundOrderManager : MonoBehaviour { public TMP_InputField dayinriqi; public TMP_InputField kuguanyuan; public TMP_InputField lingliaoyuan; public GameObject 物料编码; public GameObject 物料描述; public GameObject 批次号; public GameObject 数量; public GameObject 库存地点; public Button close; private void Start() { close.onClick.AddListener(delegate { List list = new List(); list.Add(dayinriqi.text); list.Add(kuguanyuan.text); list.Add(lingliaoyuan.text); if(MotionEngine.GetModule().HandleClick(list)) TutorialGuideManager.Instance.TriggerNextGuide(close.name); }); 物料编码.transform.Find("text").GetComponent().text = MotionEngine.GetModule().GetTaskBookValue("物料编码"); 物料描述.transform.Find("text").GetComponent().text = MotionEngine.GetModule().GetTaskBookValue("物料描述"); 批次号.transform.Find("text").GetComponent().text = MotionEngine.GetModule().GetTaskBookValue("批次号"); 数量.transform.Find("text").GetComponent().text = MotionEngine.GetModule().GetTaskBookValue("数量"); 库存地点.transform.Find("text").GetComponent().text = MotionEngine.GetModule().GetTaskBookValue("库存地点"); } } }