update: 完善 JsonBuilder
parent
f85eb8d2bb
commit
804618b12b
|
|
@ -1,5 +1,4 @@
|
|||
|
||||
|
||||
#if GURU_SDK_DEV
|
||||
|
||||
namespace Guru.Editor
|
||||
{
|
||||
|
|
@ -618,10 +617,10 @@ namespace Guru.Editor
|
|||
line = lines[i];
|
||||
if(string.IsNullOrEmpty(line)) continue;
|
||||
raw = lines[i].Split(',');
|
||||
key = "";
|
||||
value = "";
|
||||
key = raw[0];
|
||||
if(raw.Length > 0) value = raw[1];
|
||||
if(string.IsNullOrEmpty(key)) continue;
|
||||
if(raw.Length > 1) value = raw[1];
|
||||
dict[key] = value;
|
||||
i++;
|
||||
}
|
||||
|
|
@ -823,8 +822,6 @@ namespace Guru.Editor
|
|||
|
||||
#endregion
|
||||
|
||||
|
||||
|
||||
#region TEST
|
||||
|
||||
#if GURU_SDK_DEV
|
||||
|
|
@ -860,6 +857,7 @@ namespace Guru.Editor
|
|||
}
|
||||
|
||||
#endregion
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
#endif
|
||||
Loading…
Reference in New Issue