解决场景变慢的原因
This commit is contained in:
parent
0b1247249d
commit
afb8c358f5
@ -1,8 +0,0 @@
|
|||||||
fileFormatVersion: 2
|
|
||||||
guid: f134d222725933a4a8aa79fee0ebc10c
|
|
||||||
folderAsset: yes
|
|
||||||
DefaultImporter:
|
|
||||||
externalObjects: {}
|
|
||||||
userData:
|
|
||||||
assetBundleName:
|
|
||||||
assetBundleVariant:
|
|
||||||
@ -11,7 +11,7 @@ using Assets.Scripts.Devices;
|
|||||||
|
|
||||||
public static class App
|
public static class App
|
||||||
{
|
{
|
||||||
public static string Host = "http://192.168.0.101:5085/";
|
public static string Host = "http://192.168.0.102:5082/";
|
||||||
|
|
||||||
public static string AppVersion = Application.version;
|
public static string AppVersion = Application.version;
|
||||||
|
|
||||||
@ -85,13 +85,13 @@ public static class App
|
|||||||
public readonly static bool isFullScreen = width/height>1.8;
|
public readonly static bool isFullScreen = width/height>1.8;
|
||||||
static App()
|
static App()
|
||||||
{
|
{
|
||||||
#if !UNITY_EDITOR
|
//#if !UNITY_EDITOR
|
||||||
//Host = "http://pf.juze.pro/";
|
// //Host = "http://pf.juze.pro/";
|
||||||
//UdpAddress = new IPEndPoint(IPAddress.Parse("47.97.84.8"), 21000);
|
// //UdpAddress = new IPEndPoint(IPAddress.Parse("47.97.84.8"), 21000);
|
||||||
//TcpAddress = new IPEndPoint(IPAddress.Parse("47.97.84.8"), 21001);
|
// //TcpAddress = new IPEndPoint(IPAddress.Parse("47.97.84.8"), 21001);
|
||||||
Host = "https://wx.powerfun.com.cn/";
|
// Host = "https://wx.powerfun.com.cn/";
|
||||||
UdpAddress = new IPEndPoint(IPAddress.Parse("47.97.84.8"), 11000);
|
// UdpAddress = new IPEndPoint(IPAddress.Parse("47.97.84.8"), 11000);
|
||||||
TcpAddress = new IPEndPoint(IPAddress.Parse("47.97.84.8"), 11001);
|
// TcpAddress = new IPEndPoint(IPAddress.Parse("47.97.84.8"), 11001);
|
||||||
#endif
|
//#endif
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -259,8 +259,8 @@ public class UIManager : MonoBehaviour
|
|||||||
{ false,Resources.Load<Sprite>("Images/p-4灰")},
|
{ false,Resources.Load<Sprite>("Images/p-4灰")},
|
||||||
{ true,Resources.Load<Sprite>("Images/p-4")},
|
{ true,Resources.Load<Sprite>("Images/p-4")},
|
||||||
};
|
};
|
||||||
var a = Resources.Load<TextAsset>("UI/simpleCountry");
|
//var a = Resources.Load<TextAsset>("UI/simpleCountry");
|
||||||
var clist = JsonConvert.DeserializeObject<List<CountryInfo>>(a.text);
|
//var clist = JsonConvert.DeserializeObject<List<CountryInfo>>(a.text);
|
||||||
|
|
||||||
if (_now == null)
|
if (_now == null)
|
||||||
{
|
{
|
||||||
|
|||||||
@ -38,6 +38,7 @@ GraphicsSettings:
|
|||||||
- {fileID: 16000, guid: 0000000000000000f000000000000000, type: 0}
|
- {fileID: 16000, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
- {fileID: 16001, guid: 0000000000000000f000000000000000, type: 0}
|
- {fileID: 16001, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
- {fileID: 17000, guid: 0000000000000000f000000000000000, type: 0}
|
- {fileID: 17000, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
|
- {fileID: 16003, guid: 0000000000000000f000000000000000, type: 0}
|
||||||
m_PreloadedShaders: []
|
m_PreloadedShaders: []
|
||||||
m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000,
|
m_SpritesDefaultMaterial: {fileID: 10754, guid: 0000000000000000f000000000000000,
|
||||||
type: 0}
|
type: 0}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user