解决区域标点符号问题

This commit is contained in:
lishuo 2021-06-04 13:19:37 +08:00
parent e88f32e99b
commit 8e1b4bbbca
2 changed files with 2677 additions and 2671 deletions

File diff suppressed because it is too large Load Diff

View File

@ -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);