We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 655b3e7 commit d1b2892Copy full SHA for d1b2892
Training.cs
@@ -1,6 +1,7 @@
1
using System;
2
using System.IO;
3
using UnityEngine;
4
+using System.Globalization;
5
#if UNITY_EDITOR
6
using UnityEditor;
7
#endif
@@ -74,7 +75,7 @@ public string NeighborXML(){
74
75
if (last == "X" || last == "I" || last == "L" || last == "T" || last == "D"){
76
sym = last;
77
}
- res += "<tile name=\""+assetpath+"\" symmetry=\""+sym+"\" weight=\"1.0\"/>\n";
78
+ res += "<tile name=\""+assetpath+"\" symmetry=\""+sym+"\" weight=\"1"+ System.Globalization.CultureInfo.CurrentCulture.NumberFormat.NumberDecimalSeparator +"0\"/>\n";
79
80
81
res += " </tiles>\n<neighbors>";
0 commit comments