using System; using System.Collections; using System.Collections.Generic; using DefaultNamespace.ProcessMode; using Framework.Manager; using MotionFramework; using TMPro; using UnityEngine; using UnityEngine.UI; /// /// 物资领用出库+打印出库单 /// public class MaterialIssueDocumentPrinterManager : MonoBehaviour { public InputField gongchang; public InputField guozhangriqi; public Button querybt; public Button querybt1; public Button querybt2; public GameObject plane1; private void Start() { querybt.onClick.AddListener(delegate { List list = new List(); list.Add(gongchang.text); list.Add(guozhangriqi.text); if (MotionEngine.GetModule().HandleClick(list)) { TutorialGuideManager.Instance.TriggerNextGuide(); plane1.SetActive(true); } }); querybt1.onClick.AddListener(delegate { TutorialGuideManager.Instance.TriggerNextGuide(); }); querybt2.onClick.AddListener(delegate { MotionEngine.GetModule().HandleClick("打印"); TutorialGuideManager.Instance.TriggerNextGuide(); }); } }