NG_/Scripts/3D/开放实验室/PopLab.cs
2024-12-13 18:49:44 +08:00

27 lines
385 B
C#

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()
{
}
}