40 lines
923 B
C#
40 lines
923 B
C#
using System;
|
|
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using DefaultNamespace.ProcessMode;
|
|
using Framework.Manager;
|
|
using MotionFramework;
|
|
using TMPro;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
/// <summary>
|
|
/// 物资领用出库脚本
|
|
/// </summary>
|
|
public class MaterialIssueRequestManager : MonoBehaviour
|
|
{
|
|
public TMP_InputField wuliao;
|
|
public TMP_InputField gongchang;
|
|
public Button queryBt;
|
|
public GameObject plane1;
|
|
|
|
private void Start()
|
|
{
|
|
|
|
queryBt.onClick.AddListener(delegate
|
|
{
|
|
List<string> list = new List<string>();
|
|
list.Add(wuliao.text);
|
|
list.Add(gongchang.text);
|
|
|
|
if (MotionEngine.GetModule<ProcessManager>().HandleClick(list))
|
|
{
|
|
|
|
plane1.SetActive(true);
|
|
TutorialGuideManager.Instance.TriggerNextGuide(queryBt.name);
|
|
}
|
|
|
|
});
|
|
}
|
|
}
|