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

Parámetros

text A hex string to parse.

Valor de retorno

NetworkHash128 A 128 bit network hash object.

Descripción

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