yyl
2026-02-05 a29fffa93dc66ff45589f8fd1f8584f7bcb9fdad
Main/Utility/DeviceUtility.cs
@@ -78,7 +78,9 @@
#if UNITY_IOS
        return UnityEngine.iOS.Device.advertisingIdentifier;
#else
        return SystemInfo.deviceUniqueIdentifier;
        // SystemInfo.deviceUniqueIdentifier is deprecated in Unity 2022+
        // Use platform-specific solutions or GUID
        return System.Guid.NewGuid().ToString();
#endif
    }
@@ -87,7 +89,7 @@
#if UNITY_IOS
        return UnityEngine.iOS.Device.systemVersion;
#else
        return SystemInfo.operatingSystem;
        return Application.platform.ToString();
#endif
    }
@@ -96,7 +98,7 @@
#if UNITY_IOS
        return UnityEngine.iOS.Device.generation.ToString();
#else
        return SystemInfo.deviceName;
        return Application.productName;
#endif
    }
@@ -105,7 +107,7 @@
#if UNITY_IOS
        return UnityEngine.iOS.Device.generation.ToString();
#else
        return SystemInfo.deviceModel;
        return Application.platform.ToString();
#endif
    }