using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEngine.EventSystems; public enum InterfaceType { None, IN1, IN1_100K, IN2, IN2_200K, IN3, IN3_200K, IN4, _12V,//+12V GND, GND1, GND2, GND3, __12V,//-12V UI, UI_100K, UI_01uF, UI_1uF, UI_10uF, O1_01uF, O1_1uF, O1_10uF, OUT1, OUT2, O1, O2, _1uF_star, _1uF_end, _10uF_star, _10uF_end, _51K_star, _51K_end, _100K_star, _100K_end, _200K_star, _200K_end, _250K_star, _250K_end, } public class LineConnect : MonoBehaviour { public InterfaceType interfaceType = InterfaceType.None; private void OnMouseDown() { LineManager.instance.ClickPoint(transform); } }