33 lines
902 B
C#
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();
|
|
});
|
|
}
|
|
} |