diff --git a/English/README.md b/English/README.md index 353be8c..b825a74 100644 --- a/English/README.md +++ b/English/README.md @@ -40,8 +40,6 @@ [Scripting reference](Theme/Scripting_reference.md) -[API update history](Theme/API_update_history.md) - # TECHMANIA Converter Documentation [.bms support](Converter/bms_support.md) diff --git a/English/Theme/API_update_history.md b/English/Theme/API_update_history.md deleted file mode 100644 index b272050..0000000 --- a/English/Theme/API_update_history.md +++ /dev/null @@ -1,13 +0,0 @@ -# API version 2 - -TECHMANIA version: 2.1 -Unity version: ??? - -* Deprecated `Paths.EscapeBackslash`, which now does nothing. Added `Paths.ForceEscapeBackslash` in case escaping is still necessary. `EscapeBackslash` was added in an age when visual elements parsed escape sequences by default; that is no longer the case. - -# API version 1 - -TECHMANIA version: 2.0 -Unity version: 2022.3.2f1 - -Initial version. \ No newline at end of file diff --git a/English/Theme/Scripting_reference.md b/English/Theme/Scripting_reference.md index 71b6b02..d9f0147 100644 --- a/English/Theme/Scripting_reference.md +++ b/English/Theme/Scripting_reference.md @@ -1,6 +1,6 @@ # TECHMANIA Theme API scripting reference -Applies to API version: 2 +Applies to API version: 1 When reading on Github, you can click the menu button to the top right to reveal a table of contents. @@ -1020,16 +1020,8 @@ Converts `absolutePath` to a relative path in reference to `reference`. string EscapeBackslash(string path) ``` -Deprecated. This method returns `path` unmodified. If you are sure you need to escape backslashes, call `ForceEscapeBackslash`. - -``` -string ForceEscapeBackslash(string path) -``` - Replaces `\` with `\\`, so that paths on Windows do not form escape sequences when displayed on a visual element. -Please note that visual elements by default do not parse escape sequences. In that case, calling this before displaying a string would result in double backslashes. - ``` string GoUpFrom(string path) ```