Tz2/Assets/Zion/Scripts/ERP/10kV变压器代保管出库/RetiredAssetOutboundInputCo...

28 lines
754 B
C#

using System.Collections;
using System.Collections.Generic;
using DefaultNamespace;
using Framework.Manager;
using MotionFramework;
using UnityEngine;
using UnityEngine.UI;
public class RetiredAssetOutboundInputComponent : MonoBehaviour
{
public Button closeBt;
private void Start()
{
closeBt.onClick.AddListener(() =>
{
if(MotionEngine.GetModule<GlobalDataStorage>().ExamName.Contains("代保管物资出库"))
{
TutorialGuideManager.Instance.TriggerNextGuide();
}else if(MotionEngine.GetModule<GlobalDataStorage>().ExamName.Contains("领用出库"))
{
TutorialGuideManager.Instance.TriggerNextGuide();
}
});
}
}