解决区域标点符号问题
This commit is contained in:
parent
e88f32e99b
commit
8e1b4bbbca
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);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user