34 lines
830 B
C#
34 lines
830 B
C#
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<string> list = new List<string>();
|
|
|
|
list.Add(toggle1.isOn.ToString());
|
|
list.Add(toggle2.isOn.ToString());
|
|
if (MotionEngine.GetModule<ProcessManager>().HandleClick(list))
|
|
{
|
|
TutorialGuideManager.Instance.TriggerNextGuide();
|
|
}
|
|
});
|
|
}
|
|
}
|