Version: 2022.2
言語: 日本語
public string ToString ();

説明

Convert a Hash128 to string.

This creates a string that is 32 characters long. Each of the 16 hash bytes is represented as two hexadecimal characters.

using UnityEngine;

public class ExampleScript : MonoBehaviour { void Start() { var hash = new Hash128(0x01020304, 0xaabbccdd, 0x12345678, 0xbaadc0de); // prints "04030201ddccbbaa78563412dec0adba", // because the hash values are in little-endian byte order Debug.Log(hash.ToString()); } }

See Also: Hash128.Parse.