Skip to content

Instantly share code, notes, and snippets.

@masayuki5160
Created January 9, 2014 10:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save masayuki5160/8332456 to your computer and use it in GitHub Desktop.
Save masayuki5160/8332456 to your computer and use it in GitHub Desktop.
UnityでUUIDを取得するとき。
using UnityEngine;
using System.Collections;
public class GetUUID : MonoBehaviour {
private string deviceIDKey;
// Use this for initialization
void Start () {
// Get UUID
deviceIDKey = SystemInfo.deviceUniqueIdentifier;
Debug.Log(deviceIDKey);
//guiText.text = "UUID : "+deviceIDKey;
}
// Update is called once per frame
void Update () {
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment