| 1234567891011121314151617181920212223 |
- using System.Collections;
- using System.Collections.Generic;
- using UnityEngine;
- public class BluetoothHolder : MonoBehaviour
- {
- public static BluetoothHolder ins;
- void Start() {
- ins = this;
- CloseDebug();
- }
- public void openDebug() {
- this.transform.Find("Canvas").gameObject.SetActive(true);
- this.transform.Find("Objects").gameObject.SetActive(true);
- }
- public void CloseDebug() {
- this.transform.Find("Canvas").gameObject.SetActive(false);
- this.transform.Find("Objects").gameObject.SetActive(false);
- }
- }
|