using System; using System.Collections; using System.Collections.Generic; using UnityEngine; // 点击实验室弹窗 public class PopLab : MonoBehaviour { public GameObject pop; // 弹窗预制体 public void OnMouseDown() { pop.SetActive(pop.activeSelf? false : true); } void Start() { } void Update() { } }