public void LoadSelectedMap() { SetCurrentState(EditorState.PlaybackLoad); Debug.LogWarning("Loading selected map"); string[] location = flatMenu.GetSelectedMapFullPath(); json = LoadFromDisk(location[0], location[1], location[2]); beatMapData = BeatSaberJSONClass.ConvertBSDataToEditorData(json); // Load from disk continues from update method when audio is loaded // }
public void Initialize(BeatSaberJSONClass data, NoteMode noteMode, EditorState requestedState) { Initialize(BeatSaberJSONClass.ConvertBSDataToEditorData(data), noteMode, requestedState); }