36 lines
895 B
C#
36 lines
895 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 MaterialInspectionBaoFeiManager : MonoBehaviour
|
|
{
|
|
public Toggle[] Toggles;
|
|
|
|
|
|
public Button closeBt;
|
|
|
|
|
|
private void Start()
|
|
{
|
|
closeBt.onClick.AddListener(delegate
|
|
{
|
|
List<string> list = new List<string>();
|
|
list.Add(Toggles[0].isOn.ToString());
|
|
list.Add(Toggles[1].isOn.ToString());
|
|
list.Add(Toggles[2].isOn.ToString());
|
|
list.Add(Toggles[3].isOn.ToString());
|
|
|
|
|
|
if (MotionEngine.GetModule<ProcessManager>().HandleClick(list))
|
|
{
|
|
TutorialGuideManager.Instance.HideGuide();
|
|
this.gameObject.SetActive(false);
|
|
}
|
|
});
|
|
}
|
|
} |