30 lines
640 B
C#
30 lines
640 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
|
|
public class Troubleshooting : MonoBehaviour
|
|
{
|
|
/// <summary>
|
|
/// ÖØÆô°´Å¥
|
|
/// </summary>
|
|
public Button Rebootbt;
|
|
/// <summary>
|
|
/// ¹ÊÕÏÃæ°å
|
|
/// </summary>
|
|
public GameObject TroubleshootingPanel;
|
|
void Start()
|
|
{
|
|
Rebootbt.onClick.AddListener(() =>
|
|
{
|
|
Control_Tv.Instance.AudiosTalk("¿ªµçÊÓ");
|
|
Control_Tv.Instance.Tv.GetComponent<BoxCollider>().enabled = true;
|
|
TroubleshootingPanel.SetActive(false);
|
|
});
|
|
}
|
|
void Update()
|
|
{
|
|
|
|
}
|
|
}
|