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

33 lines
902 B
C#

using System;
using System.Collections;
using System.Collections.Generic;
using DefaultNamespace.ProcessMode;
using Framework.Manager;
using MotionFramework;
using UnityEngine;
using UnityEngine.UI;
public class RetiredAssetOutbounds10KvComponent : MonoBehaviour
{
public Button closeBt;
public Toggle[] Toggles;
private void Start()
{
closeBt.onClick.AddListener(() =>
{
List<string> list = new List<string>();
foreach (var item in Toggles)
{
list.Add(item.isOn.ToString());
}
MotionEngine.GetModule<ProcessManager>().HandleClick(list);
gameObject.SetActive(false);
TutorialGuideManager.Instance.TriggerNextGuide();
// TutorialGuideManager.Instance.TriggerNextGuide();
// TutorialGuideManager.Instance.TriggerNextGuide();
});
}
}