15 lines
260 B
C#
15 lines
260 B
C#
|
using System.Collections;
|
||
|
using System.Collections.Generic;
|
||
|
using UnityEngine;
|
||
|
|
||
|
public class ToggleSceneUI : MonoBehaviour
|
||
|
{
|
||
|
[SerializeField]
|
||
|
GameObject SceneUI;
|
||
|
|
||
|
public void ToggleUI()
|
||
|
{
|
||
|
SceneUI.SetActive(!SceneUI.activeSelf);
|
||
|
}
|
||
|
}
|