123456789101112131415161718192021222324252627 |
- using System.Collections;
- using System.Collections.Generic;
- using System.Linq;
- using UnityEngine;
- using UnityEngine.EventSystems;
- public class InspectListButtonEvent : BaseView
- {
- private InspectListPanel inspectListPanel;
- public string str = "clickBar";
- private FunctionInfo _engineeringFunction;
- public override void Start()
- {
- isSelect = false;
- AddEvent();
- inspectListPanel = GameObject.Find("Notebook_grounp").GetComponent<InspectListPanel>();
- }
- public override void OnClick(BaseEventData data)
- {
- InspectListPanel.taskIndex = int.Parse(this.gameObject.GetComponent<InspectList_Button>().text_num.text) - 1;
- inspectListPanel.ShowHandleClick(InspectListPanel.taskIndex);
- }
- }
|