Tz2/Assets/Zion/Scripts/ScrapTechnologyAppraisalRep...

31 lines
940 B
C#

using System.Collections;
using System.Collections.Generic;
using DefaultNamespace.ProcessMode;
using MotionFramework;
using UnityEngine;
using UnityEngine.UI;
/// <summary>
/// 报废技术鉴定报告
/// </summary>
public class ScrapTechnologyAppraisalReport : MonoBehaviour
{
public Button btclck;
public UI_StampConfirmation ui_StampConfirmation1;
public UI_StampConfirmation ui_StampConfirmation2;
public UI_StampConfirmation ui_StampConfirmation3;
private void Start()
{
btclck.onClick.AddListener(() =>
{
List<string> list = new List<string>();
list.Add(ui_StampConfirmation1.IsClick.ToString());
list.Add(ui_StampConfirmation2.IsClick.ToString());
list.Add(ui_StampConfirmation3.IsClick.ToString());
if (MotionEngine.GetModule<ProcessManager>().HandleClick(list))
gameObject.SetActive(false);
});
}
}