public static Networking.NetworkHash128 Parse (string text);

Parameters

textA hex string to parse.

Returns

NetworkHash128 A 128 bit network hash object.

Description

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); } }