using DefaultNamespace; using DefaultNamespace.ProcessMode; using Framework.Manager; using MotionFramework; using System.Collections; using System.Collections.Generic; using TMPro; using UnityEngine; using UnityEngine.UI; public class ApplicationFormCustodyComponent : MonoBehaviour { public Button closeBt; public UI_StampConfirmation uI_StampConfirmation1; public UI_StampConfirmation uI_StampConfirmation2; public UI_StampConfirmation uI_StampConfirmation3; public GameObject 物料编码; public GameObject 物料描述; public GameObject 领料数量; private void Start() { closeBt.onClick.AddListener(delegate { if (MotionEngine.GetModule().ExamName.Contains("代保管物资出库")) { List li = new List(); li.Add(uI_StampConfirmation1.IsClick.ToString()); li.Add(uI_StampConfirmation2.IsClick.ToString()); li.Add(uI_StampConfirmation3.IsClick.ToString()); if (MotionEngine.GetModule().HandleClick(li)) TutorialGuideManager.Instance.TriggerNextGuide(); } }); 物料编码.transform.Find("text").GetComponent().text = MotionEngine.GetModule().GetTaskBookValue("物料编码"); 物料描述.transform.Find("text").GetComponent().text = MotionEngine.GetModule().GetTaskBookValue("物料描述"); 领料数量.transform.Find("text").GetComponent().text = MotionEngine.GetModule().GetTaskBookValue("发出数量"); } }