Created
January 9, 2014 10:57
-
-
Save masayuki5160/8332456 to your computer and use it in GitHub Desktop.
UnityでUUIDを取得するとき。
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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