Version: 2021.1

SystemInfo.unsupportedIdentifier

切换到手册
public static string unsupportedIdentifier ;

描述

SystemInfo 字符串属性返回的当前平台不支持的值。

using UnityEngine;
using System.Collections;

public class NewBehaviourScript : MonoBehaviour { void Start() { if (SystemInfo.unsupportedIdentifier != SystemInfo.deviceUniqueIdentifier) { // use SystemInfo.deviceUniqueIdentifier } } }