Tz2/Assets/Scripts/MaterialTransferOrderCompon...

27 lines
742 B
C#

using System.Collections;
using System.Collections.Generic;
using DefaultNamespace.ProcessMode;
using Framework.Manager;
using MotionFramework;
using UnityEngine;
using UnityEngine.UI;
public class MaterialTransferOrderComponent : MonoBehaviour
{
public UI_StampConfirmation t1;
public UI_StampConfirmation t2;
public Button closeBt;
void Start()
{
closeBt.onClick.AddListener(delegate
{
List<string> list = new List<string>();
list.Add(t1.IsClick.ToString());
list.Add(t2.IsClick.ToString());
if (MotionEngine.GetModule<ProcessManager>().HandleClick(list))
TutorialGuideManager.Instance.TriggerNextGuide(closeBt.name);
});
}
}