Example #1
0
 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 //
 }
Example #2
0
 public void Initialize(BeatSaberJSONClass data, NoteMode noteMode, EditorState requestedState)
 {
     Initialize(BeatSaberJSONClass.ConvertBSDataToEditorData(data), noteMode, requestedState);
 }