perf
This commit is contained in:
@@ -1,7 +1,9 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using AK.Wwise;
|
||||
using Ichni.Menu;
|
||||
using UnityEngine;
|
||||
using UnityEngine.Serialization;
|
||||
|
||||
namespace Ichni
|
||||
{
|
||||
@@ -10,20 +12,13 @@ namespace Ichni
|
||||
public static InformationTransistor instance;
|
||||
|
||||
public bool isReturnedFromGame;
|
||||
public string chapterName;
|
||||
|
||||
public string songName;
|
||||
public string composerName;
|
||||
public string illustratorName;
|
||||
public string chartDesignerName;
|
||||
|
||||
public string difficultyName;
|
||||
public Color difficultyColor;
|
||||
|
||||
public Sprite illustration;
|
||||
|
||||
public ChapterSelectionUnit chapter;
|
||||
public SongItemData song;
|
||||
public DifficultyData difficulty;
|
||||
|
||||
public Switch chapterSwitch;
|
||||
public Switch musicSwitch;
|
||||
public Switch songSwitch;
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
@@ -39,20 +34,14 @@ namespace Ichni
|
||||
}
|
||||
}
|
||||
|
||||
public void SetInformation(string chapterName, string songName, string composerName,
|
||||
string difficultyName, string illustratorName, string chartDesignerName, Color difficultyColor,
|
||||
Sprite illustration, Switch chapter, Switch music)
|
||||
public void SetInformation(ChapterSelectionUnit chapter,
|
||||
SongItemData song, DifficultyData difficulty)
|
||||
{
|
||||
this.chapterName = chapterName;
|
||||
this.songName = songName;
|
||||
this.composerName = composerName;
|
||||
this.difficultyName = difficultyName;
|
||||
this.difficultyColor = difficultyColor;
|
||||
this.illustration = illustration;
|
||||
this.illustratorName = illustratorName;
|
||||
this.chartDesignerName = chartDesignerName;
|
||||
this.chapterSwitch = chapter;
|
||||
this.musicSwitch = music;
|
||||
this.chapter = chapter;
|
||||
this.song = song;
|
||||
this.difficulty = difficulty;
|
||||
this.chapterSwitch = chapter.chapterSwitch;
|
||||
this.songSwitch = song.songSwitch;
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user