using System.Collections; using System.Collections.Generic; using UnityEngine; public class QueDingButton2 : MonoBehaviour { public GameObject[] gb; // Update is called once per frame public void quedingbutton2() { if(gb[0].activeSelf) { gb[1].SetActive(true); } } }