mirror of
https://github.com/RHeavenStudio/HeavenStudio.git
synced 2025-06-12 21:37:40 +02:00
General code cleanup
This commit is contained in:
@ -34,16 +34,17 @@ namespace RhythmHeavenMania
|
||||
SortEventsList();
|
||||
|
||||
string json = txt.text;
|
||||
Beatmap.entities = JsonConvert.DeserializeObject<List<Beatmap.Entity>>(json);
|
||||
Beatmap = JsonConvert.DeserializeObject<Beatmap>(json);
|
||||
|
||||
SortEventsList();
|
||||
|
||||
StartCoroutine(Begin());
|
||||
|
||||
GlobalGameManager.Init();
|
||||
|
||||
eventCaller = GetComponent<EventCaller>();
|
||||
eventCaller.Init();
|
||||
Conductor.instance.SetBpm(Beatmap.bpm);
|
||||
|
||||
StartCoroutine(Begin());
|
||||
}
|
||||
|
||||
private IEnumerator Begin()
|
||||
|
Reference in New Issue
Block a user