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

25 lines
803 B
C#

using System;
using System.Collections;
using System.Collections.Generic;
using DefaultNamespace;
using DefaultNamespace.ProcessMode;
using Framework.Manager;
using MotionFramework;
using UnityEngine;
using UnityEngine.UI;
public class RetiredAssetOutboundHangingMaterialCards : MonoBehaviour
{
private void Start()
{
this.GetComponent<Button>().onClick.AddListener(delegate
{
if (MotionEngine.GetModule<GlobalDataStorage>().ExamName.Contains("代保管物资出库")||
MotionEngine.GetModule<GlobalDataStorage>().ExamName.Contains("领用出库"))
{
MotionEngine.GetModule<ProcessManager>().HandleClick("悬挂物资卡片");
TutorialGuideManager.Instance.TriggerNextGuide();
}
});
}
}