using System.Collections.Generic; using DefaultNamespace.ProcessMode; using Framework.Manager; using UnityEngine; using UnityEngine.UI; public class RetiredAssetOutboundCustodyManager : MonoBehaviour { public InputField danhao; public InputField gongchang; public Button chaxun; public Button dayin; public Button dayin2; public GameObject plane1; public Toggle togg; private void Start() { togg.onValueChanged.AddListener(delegate { TutorialGuideManager.Instance.TriggerNextGuide(); }); dayin.onClick.AddListener(delegate { TutorialGuideManager.Instance.TriggerNextGuide(); }); chaxun.onClick.AddListener(delegate { List stampNames = new List(); stampNames.Add(danhao.text); stampNames.Add(gongchang.text); bool isMatch = MotionFramework.MotionEngine.GetModule().HandleClick(stampNames); plane1.SetActive(true); Debug.Log("查询结果:" + isMatch); TutorialGuideManager.Instance.TriggerNextGuide(); }); dayin2.onClick.AddListener(delegate { MotionFramework.MotionEngine.GetModule().HandleClick("打印"); TutorialGuideManager.Instance.TriggerNextGuide(); }); } }