From 0d7482d5a0e8bf082abfb4b5bfbfee03597cdc3a Mon Sep 17 00:00:00 2001
From: lwb <q3213421wrwqr>
Date: 星期四, 25 二月 2021 15:43:08 +0800
Subject: [PATCH] 9527 去掉xlua
---
Utility/DeviceUtility.cs | 54 +++++++++++++++++++++++++++---------------------------
1 files changed, 27 insertions(+), 27 deletions(-)
diff --git a/Utility/DeviceUtility.cs b/Utility/DeviceUtility.cs
index d620f9e..0488a67 100644
--- a/Utility/DeviceUtility.cs
+++ b/Utility/DeviceUtility.cs
@@ -1,21 +1,21 @@
-锘縰sing 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]
+锘縰sing 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 @@
}
}
-
-}
+
+}
--
Gitblit v1.8.0