解决区域标点符号问题
This commit is contained in:
1 parent
e88f32e99b
commit
8e1b4bbbca
2 files changed
+2677
-2671
No files matched your search
+2671
-2671
File diff suppressed because it is too large.
Load diff
@@ -5,6 +5,8 @@ using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using UnityEngine;
|
||||
using System.Net;
|
||||
using System.Globalization;
|
||||
using System.Threading;
|
||||
|
||||
public static class App
|
||||
{
|
||||
@@ -50,6 +52,10 @@ public static class App
|
||||
|
||||
static App()
|
||||
{
|
||||
CultureInfo currentCulture = (CultureInfo)Thread.CurrentThread.CurrentCulture.Clone();
|
||||
currentCulture.NumberFormat.NumberDecimalSeparator = ".";
|
||||
Thread.CurrentThread.CurrentCulture = currentCulture;
|
||||
System.Globalization.CultureInfo.DefaultThreadCurrentCulture = System.Globalization.CultureInfo.InvariantCulture;
|
||||
#if !UNITY_EDITOR
|
||||
// Host = "http://pf.juze.pro/";
|
||||
// UdpAddress = new IPEndPoint(IPAddress.Parse("47.97.84.8"), 21000);
|
||||
|
||||
Reference in new issue
Block a user