This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
public class liuJiaoButton : MonoBehaviour
{
/// <summary>
/// 如果手动旋转按钮打开,并且运行指示灯为白,并且选中了六角扳手,则触发确定事件
/// </summary>
public GameObject[] gb;//0为手动旋转按钮(旋转按钮物体为隐藏)触发,1为运行指示灯为白(绿灯贴图(1)物体为隐藏)触发,2为选中了六角扳手(Image(2)为活跃的)
public GameObject[] gbOn;//0为黄色题头(房间放大镜打开页面里的image)需打开,1为两个红色按钮需打开
public void QueDingButton()
if (!gb[0].activeSelf&&!gb[1].activeSelf&&gb[2].activeSelf)
gbOn[0].SetActive(true);
gbOn[1].SetActive(true);
}