mirror of
https://github.com/RHeavenStudioPlus/HeavenStudioPlus.git
synced 2024-11-13 13:15:08 +00:00
27 lines
525 B
C#
27 lines
525 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
|
|
using HeavenStudio.Editor;
|
|
|
|
public class NewRemixDialog : MonoBehaviour
|
|
{
|
|
[SerializeField] private GameObject diag;
|
|
|
|
public void SwitchNewDialog()
|
|
{
|
|
if(diag.activeSelf) {
|
|
diag.SetActive(false);
|
|
} else {
|
|
diag.SetActive(true);
|
|
}
|
|
}
|
|
|
|
public void Confirm()
|
|
{
|
|
Editor.instance.NewRemix();
|
|
if(diag.activeSelf) {
|
|
diag.SetActive(false);
|
|
}
|
|
}
|
|
}
|