using System; using System.Collections.Generic; using DefaultNamespace.ProcessMode; using Framework.Manager; using TMPro; using UnityEngine; using UnityEngine.UI; public class RetiredAssetOutboundSAPManager : MonoBehaviour { public InputField cangku; public InputField pici; public Toggle shangjia; public Button chaxun; public Button shengchengzhuanchudan; public GameObject plane1; public Button b1; private void Start() { b1.onClick.AddListener(delegate { TutorialGuideManager.Instance.TriggerNextGuide(); }); chaxun.onClick.AddListener(delegate { List stampNames = new List(); stampNames.Add(cangku.text); stampNames.Add(pici.text); stampNames.Add(shangjia.isOn.ToString()); bool isMatch = MotionFramework.MotionEngine.GetModule().HandleClick(stampNames); plane1.SetActive(true); Debug.Log("查询结果:" + isMatch); TutorialGuideManager.Instance.TriggerNextGuide(); }); shengchengzhuanchudan.onClick.AddListener(delegate { MotionFramework.MotionEngine.GetModule().HandleClick("生成转储单"); TutorialGuideManager.Instance.TriggerNextGuide(); }); } }