using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.UI; public class NPCTriggerController_10002_2002 : NPCTriggerController { public Device_Control_2002 device_Control; public int chartIndex = 1; UI_CustomSessionPanel customSessionPanel; UI_DisassemblyAssemblyNoticePanel assemblyAssemblyNoticePanel; // Start is called before the first frame update protected override void OnMDown() { base.OnMDown(); if (device_Control != null) { if (!device_Control.meteringDevice.gameObject.name.Contains("原")) { if (!device_Control.meteringDevice.cover.cover_seal_Left.isCut && !device_Control.meteringDevice.cover.cover_seal_Right.isCut) GameManager.UIMgr.ShowPanel(E_UI_Layer.Mid, (p)=> { //StartCoroutine(GetCustomSission()); assemblyAssemblyNoticePanel = p; customSessionPanel = GameManager.UIMgr.GetPanel(); customSessionPanel.callBack += HideCustomSessionPanel; //Button ClientContinueBtn = assemblyAssemblyNoticePanel.GetComponentInChildren