少年修仙传客户端代码仓库
lwb
2021-02-25 0d7482d5a0e8bf082abfb4b5bfbfee03597cdc3a
Utility/DeviceUtility.cs
@@ -1,21 +1,21 @@
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Net.NetworkInformation;
using System;
using System.Net;
using System.Net.Sockets;
using System.IO;
using System.Text.RegularExpressions;
#if UNITY_IOS
using UnityEngine.iOS;
#endif
[XLua.LuaCallCSharp]
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using System.Net.NetworkInformation;
using System;
using System.Net;
using System.Net.Sockets;
using System.IO;
using System.Text.RegularExpressions;
#if UNITY_IOS
using UnityEngine.iOS;
#endif
public class DeviceUtility
{
{
    static string mac = string.Empty;
    public static string GetMac()
    {
@@ -80,8 +80,8 @@
#else
        return SystemInfo.deviceUniqueIdentifier;
#endif
    }
    }
    public static string GetDeviceOSLevel()
    {
#if UNITY_IOS
@@ -89,8 +89,8 @@
#else
        return SystemInfo.operatingSystem;
#endif
    }
    }
    public static string GetDeviceName()
    {
#if UNITY_IOS
@@ -98,8 +98,8 @@
#else
        return SystemInfo.deviceName;
#endif
    }
    }
    public static string GetDeviceModel()
    {
#if UNITY_IOS
@@ -107,8 +107,8 @@
#else
        return SystemInfo.deviceModel;
#endif
    }
    }
    public static bool IsLowMemory()
    {
#if UNITY_IOS
@@ -165,5 +165,5 @@
        }
    }
}
}