using System.Collections; using System.Collections.Generic; using System.Drawing; using TMPro; using UnityEngine; using UnityEngine.UI; public class UI_BaseTicket : BasePanel { [Header("工作票")] public WorkTicketType workTicketType = WorkTicketType.无; public string triggerName; public RectTransform workTickeContent; // 注意事项生成容器 public RectTransform workTickeRequstContent; // 注意事项选择结果容器 public WorkingLineNameOrEquipmentDualName itemUIPrefab; // 背包中显示物品的UI预制体 public RectTransform allContent; // 总父物体 public RectTransform backpack; // 工作任务的父物体 public RectTransform terminalPart;//结束部分 public RectTransform leftItemPrefab; // public UI_MatterItem matterItemPrefab; // public Toggle allToggle; //全选按钮// 总父物体 public char missionSplitChar = ';'; // 任务分割符 protected List miTemp = new List(); [HideInInspector] public List highlightTipList = new List(); public override void ShowMe() { base.ShowMe(); highlightTipList.Clear(); //Transform backBtn = ToolFuncManager.GetChild(transform, "BackBtn");//低压工作票上一步按钮 GameManager.EventMgr.EventTrigger(Enum_EventType.PlayerCanMove, false); if (GameManager.RunModelMgr.SceneType != E_SceneType.Site) { terminalPart.gameObject.SetActive(false); if (GameManager.RunModelMgr.ModeType == E_ModeType.Study) { GetControl