コード例 #1
0
    void nextScene()
    {
        if (Global.musicInfo != null)
        {
            RSC.RemoveVideo(Global.musicInfo[Global.currentSelectMusic].bgaName);
            RSC.RemoveAudio(Global.musicInfo[Global.currentSelectMusic].mp3Name);
        }
        Global.noteManager.Clear();
        Global.currentModeInfo.noteInfo.Clear();

        SceneManager.LoadScene("Result");
    }
コード例 #2
0
    public void back()
    {
        if (Global.musicInfo != null)
        {
            RSC.RemoveVideo(Global.musicInfo[Global.currentSelectMusic].bgaName);
            RSC.RemoveAudio(Global.musicInfo[Global.currentSelectMusic].prevName);
            RSC.RemoveAudio(Global.musicInfo[Global.currentSelectMusic].mp3Name);
            RSC.RemoveSprite(Global.musicInfo[Global.currentSelectMusic].pngName);
        }
        Global.noteManager.Clear();
        Global.currentModeInfo.noteInfo.Clear();

        SceneManager.LoadScene("MusicSelect");
    }