18 lines
428 B
C#
18 lines
428 B
C#
using UnityEngine;
|
|
|
|
namespace Settings
|
|
{
|
|
public class DebugEnvironmentButton : MonoBehaviour
|
|
{
|
|
private void Start()
|
|
{
|
|
gameObject.SetActive(Debug.isDebugBuild);
|
|
}
|
|
|
|
public void OpenDebugEnvironmentMenu()
|
|
{
|
|
var newScreen = UiBuilder.Instance.BuildDebugEnvironmentScreen();
|
|
UiManager.Instance.DisplayAppPopupScreen(newScreen);
|
|
}
|
|
}
|
|
}
|