using SC.XR.Unity; using System; using System.Collections; using System.Collections.Generic; using UnityEngine; public class API_Module_NetStatus { public static bool IsConnect() { return NetStatus.Instance.SCIsConnectWifi(); } public static string GetNetSpeedValue() { return NetStatus.Instance.SCGetNetSpeed(); } public static WIFISTREGTH GetNetStrength() { return NetStatus.Instance.SCGetWifiStrength(); } public static string GetNetStatus() { return NetStatus.Instance.SCGetNetStatus(); } public static string GetNetIPAddress() { return NetStatus.Instance.SCGetIP(); } public static string GetMacAddress() { return NetStatus.Instance.SCGetMacAddress(); } public static void SetCallBack(Action NetWorkChange) { NetStatus.Instance.RegisterNetWorkChangeCallBack(NetWorkChange); } }