| | |
| | | {
|
| | | #if UNITY_IOS
|
| | | return UnityEngine.iOS.Device.advertisingIdentifier;
|
| | | # elif UNITY_ANDROID
|
| | | return SystemInfo.deviceUniqueIdentifier;
|
| | | #else
|
| | | return "";
|
| | | return SystemInfo.deviceUniqueIdentifier;
|
| | | #endif
|
| | | } |
| | | |
| | |
| | | {
|
| | | #if UNITY_IOS
|
| | | return UnityEngine.iOS.Device.systemVersion;
|
| | | # elif UNITY_ANDROID
|
| | | return SystemInfo.operatingSystem;
|
| | | #else
|
| | | return "";
|
| | | return SystemInfo.operatingSystem;
|
| | | #endif
|
| | | } |
| | | |
| | |
| | | {
|
| | | #if UNITY_IOS
|
| | | return UnityEngine.iOS.Device.generation.ToString();
|
| | | #elif UNITY_ANDROID
|
| | | return SystemInfo.deviceName;
|
| | | #else
|
| | | return "";
|
| | | return SystemInfo.deviceName;
|
| | | #endif
|
| | | } |
| | | |
| | |
| | | {
|
| | | #if UNITY_IOS
|
| | | return UnityEngine.iOS.Device.generation.ToString();
|
| | | #elif UNITY_ANDROID
|
| | | return SystemInfo.deviceModel;
|
| | | #else
|
| | | return "";
|
| | | return SystemInfo.deviceModel;
|
| | | #endif
|
| | | } |
| | | |