Version: 2017.1
public static Networking.NetworkHash128 Parse (string text);

파라미터

text A hex string to parse.

반환

NetworkHash128 A 128 bit network hash object.

설명

This parses the string representation of a NetworkHash into a binary object.

using UnityEngine;
using UnityEngine.Networking;

class HashTest : MonoBehaviour { const string assetString = "0176acd452adc180"; NetworkHash128 assetId = NetworkHash128.Parse(assetString);

void Start() { Debug.Log("asset:" + assetId); } }