Files
ichni_Creator_Studio/Assets/Scripts/StartMenu/InformationTransistor.cs

32 lines
837 B
C#
Raw Normal View History

2025-03-08 14:21:10 -05:00
using System.Collections;
using System.Collections.Generic;
using Ichni.RhythmGame.Beatmap;
using Sirenix.OdinInspector;
using UnityEngine;
namespace Ichni
{
public class InformationTransistor : SerializedMonoBehaviour
{
public static InformationTransistor instance;
public bool isLoadedProject;
2025-03-08 18:19:32 -05:00
public string loadedProjectName;
public bool isRecovery = false;
2025-03-08 14:21:10 -05:00
public ProjectInformation_BM projectInfo_BM;
public SongInformation_BM songInfo_BM;
2025-03-08 14:21:10 -05:00
private void Awake()
{
if (instance == null)
{
instance = this;
DontDestroyOnLoad(gameObject);
}
else if (instance != this)
{
Destroy(gameObject);
}
}
}
}