40 lines
952 B
C#
40 lines
952 B
C#
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 BasicKnowledgeMaterialVoucherAnalysis : MonoBehaviour
|
|
{
|
|
public TMP_InputField gongchang;
|
|
public TMP_InputField pici;
|
|
public Button queryButton;
|
|
public GameObject plane;
|
|
|
|
|
|
private void Start()
|
|
{
|
|
queryButton.onClick.AddListener(OnQueryButtonClicked);
|
|
}
|
|
|
|
private void OnQueryButtonClicked()
|
|
{
|
|
|
|
List<string> list = new List<string>();
|
|
list.Add(gongchang.text);
|
|
list.Add(pici.text);
|
|
|
|
if (MotionEngine.GetModule<ProcessManager>().HandleClick(list))
|
|
{
|
|
TutorialGuideManager.Instance.TriggerNextGuide(queryButton.name);
|
|
plane.SetActive(true);
|
|
}
|
|
}
|
|
}
|