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