SystemInfo 字符串属性返回的当前平台不支持的值。
using UnityEngine; using System.Collections;
public class NewBehaviourScript : MonoBehaviour { void Start() { if (SystemInfo.unsupportedIdentifier != SystemInfo.deviceUniqueIdentifier) { // use SystemInfo.deviceUniqueIdentifier } } }