You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
23 lines
624 B
23 lines
624 B
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
/// <summary>
|
|
/// 12.3/6房间里触发按钮则改变文本
|
|
/// </summary>
|
|
public class fangJianLa : MonoBehaviour
|
|
{
|
|
public GameObject[] text;
|
|
public GameObject[] gb;
|
|
public GameObject paiyananban;
|
|
public void La()
|
|
{
|
|
text[0].SetActive(false);//关闭
|
|
text[1].SetActive(true);//打开
|
|
text[2].SetActive(true);//文本打开的东西
|
|
gb[0].SetActive(true);
|
|
gb[1].SetActive(true);
|
|
paiyananban.transform.localEulerAngles = new Vector3(0, 100, 0);
|
|
}
|
|
}
|