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.
#pragma strict class HashTest extends MonoBehaviour { const var assetStrng: String = "0176acd452adc180"; var assetId: NetworkHash = NetworkHash.Parse(assetString); function Start() { Debug.Log("asset:" + assetId); } }
using UnityEngine; using UnityEngine.Networking;
class HashTest : MonoBehaviour { const string assetString = "0176acd452adc180"; NetworkHash128 assetId = NetworkHash128.Parse(assetString);
void Start() { Debug.Log("asset:" + assetId); } }
Did you find this page useful? Please give it a rating: