2022-07-04 16:57:19 +00:00
|
|
|
using System.Collections;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using UnityEngine;
|
|
|
|
using HeavenStudio.Editor.Track;
|
|
|
|
|
|
|
|
using TMPro;
|
|
|
|
|
|
|
|
namespace HeavenStudio.Editor
|
|
|
|
{
|
2022-08-27 03:43:01 +00:00
|
|
|
public class SettingsDialog : Dialog
|
2022-07-04 16:57:19 +00:00
|
|
|
{
|
|
|
|
private void Start() {}
|
|
|
|
|
|
|
|
public void SwitchSettingsDialog()
|
|
|
|
{
|
2022-08-27 03:43:01 +00:00
|
|
|
if(dialog.activeSelf) {
|
|
|
|
Editor.instance.canSelect = true;
|
|
|
|
Editor.instance.inAuthorativeMenu = false;
|
|
|
|
dialog.SetActive(false);
|
2022-07-04 16:57:19 +00:00
|
|
|
} else {
|
2022-08-27 03:43:01 +00:00
|
|
|
ResetAllDialogs();
|
|
|
|
Editor.instance.canSelect = false;
|
|
|
|
Editor.instance.inAuthorativeMenu = true;
|
|
|
|
dialog.SetActive(true);
|
2022-07-04 16:57:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
private void Update() {}
|
|
|
|
}
|
|
|
|
}
|