Exemplo n.º 1
0
 public void UI_Stager_To_Deemo(BaseEventData be) => Stager_to_Map(
     "Deemo",
     (be as PointerEventData).button == PointerEventData.InputButton.Right, (path, name, sMap) => Util.TextToFile(
         JsonUtility.ToJson(DeemoBeatmapData.SMap_to_DMap(sMap), false).Replace("__", "$"),
         Util.CombinePaths(path, name + ".json")
         ));
Exemplo n.º 2
0
 // Deemo
 public void UI_Deemo_To_Stager(BaseEventData be) => Map_to_Stager(
     "Deemo",
     (be as PointerEventData).button == PointerEventData.InputButton.Right,
     (path) => DeemoBeatmapData.DMap_to_SMap(JsonUtility.FromJson <DeemoBeatmapData>(Util.FileToText(path).Replace("$", "__"))),
     "json", "txt"
     );