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 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); } } } }