2022-08-23 13:38:23 +00:00
|
|
|
using System.Collections;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
|
|
using HeavenStudio.Editor;
|
|
|
|
|
2022-08-27 03:43:01 +00:00
|
|
|
public class NewRemixDialog : Dialog
|
2022-08-23 13:38:23 +00:00
|
|
|
{
|
|
|
|
public void SwitchNewDialog()
|
|
|
|
{
|
2022-08-27 03:43:01 +00:00
|
|
|
if(dialog.activeSelf) {
|
|
|
|
dialog.SetActive(false);
|
2022-08-23 13:38:23 +00:00
|
|
|
} else {
|
2022-08-27 03:43:01 +00:00
|
|
|
ResetAllDialogs();
|
|
|
|
dialog.SetActive(true);
|
2022-08-23 13:38:23 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
public void Confirm()
|
|
|
|
{
|
|
|
|
Editor.instance.NewRemix();
|
2022-08-27 03:43:01 +00:00
|
|
|
if(dialog.activeSelf) {
|
|
|
|
dialog.SetActive(false);
|
2022-08-23 13:38:23 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|