using System; using System.Collections; using System.Collections.Generic; using DefaultNamespace.ProcessMode; using Framework.Manager; using MotionFramework; using UnityEngine; using UnityEngine.UI; /// /// 物资调拨出库 /// public class TransferMaterialsOutWarehouseComponent : MonoBehaviour { public Button queryBt; public Button shengchengzhuanchudan; public InputField cangkuhao; public Toggle baohanzidonghuarenwu; public GameObject plane1; public void Start() { queryBt.onClick.AddListener(delegate { if (MotionEngine.GetModule().HandleClick(new List() { cangkuhao.text, baohanzidonghuarenwu.isOn.ToString() })) { plane1.SetActive(true); TutorialGuideManager.Instance.TriggerNextGuide(queryBt.name); } }); shengchengzhuanchudan.onClick.AddListener(delegate { if (MotionEngine.GetModule().HandleClick("生成转储单")) TutorialGuideManager.Instance.TriggerNextGuide(shengchengzhuanchudan.name); }); } }