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 list = new List(); 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().HandleClick(list)) { TutorialGuideManager.Instance.HideGuide(); this.gameObject.SetActive(false); } }); } }