mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-05-01 08:14:26 +02:00
28 lines
525 B
C#
28 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);
|
|
}
|
|
}
|
|
}
|