public override void LoadGame(object data) { LoadGameContent.PrepairDataToPlay(DataManager.CurrentStage, (done) => { if (!done) { GameStateManager.Idle(true); } }); }
private void Awake() { instance = this; //0.0 -> 1.0 FileExtend.OnProcessChanged += (process) => { if (process > 0 && process < 1) { if (loadAudioStatus == FileStatus.Download) { UILoadGame.Process(0.1f, 0.7f, process); } else if (loadMidiStatus == FileStatus.Download) { UILoadGame.Process(0.7f, 0.8f, process); } } }; }