32 lines
837 B
C#
32 lines
837 B
C#
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;
|
|
public string loadedProjectName;
|
|
public bool isRecovery = false;
|
|
public ProjectInformation_BM projectInfo_BM;
|
|
public SongInformation_BM songInfo_BM;
|
|
|
|
private void Awake()
|
|
{
|
|
if (instance == null)
|
|
{
|
|
instance = this;
|
|
DontDestroyOnLoad(gameObject);
|
|
}
|
|
else if (instance != this)
|
|
{
|
|
Destroy(gameObject);
|
|
}
|
|
}
|
|
}
|
|
} |