This repository was archived by the owner on Jun 18, 2026. It is now read-only.
Commit 675f9ae
[修正] EdgeLinkManager.Parse 改用 .NET Standard 2.0 相容 API
Unity 2020.3 (.NET Standard 2.0 預設) 不支援:
- String.Split(string, StringSplitOptions) overload (.NET 5+)
- System.Range / System.Index (.NET Standard 2.1+)
- x[..i] / x[i..] 範圍語法
改為:
- .Split(new[] { fieldDelimiter }, StringSplitOptions.RemoveEmptyEntries)
- .Substring(0, i) / .Substring(i + kvSeparator.Length)
其他 Runtime 檔 (Client / TcpListener / UdpClient) 已用 Substring,OK。
Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>1 parent ae723a0 commit 675f9ae
1 file changed
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
200 | 200 | | |
201 | 201 | | |
202 | 202 | | |
203 | | - | |
| 203 | + | |
204 | 204 | | |
205 | 205 | | |
206 | 206 | | |
207 | | - | |
| 207 | + | |
208 | 208 | | |
209 | 209 | | |
210 | 210 | | |
| |||
0 commit comments