using System.Collections; using System.Collections.Generic; using DefaultNamespace.ProcessMode; using Framework.Manager; using MotionFramework; using UnityEngine; using UnityEngine.UI; public class InventoryMaterialScrappingProcessModel : MonoBehaviour { public Button bt; public Toggle toggle1; public Toggle toggle2; // Start is called before the first frame update void Start() { bt.onClick.AddListener(delegate { List list = new List(); list.Add(toggle1.isOn.ToString()); list.Add(toggle2.isOn.ToString()); if (MotionEngine.GetModule().HandleClick(list)) { TutorialGuideManager.Instance.TriggerNextGuide(); } }); } }