기술 자료

Unity Engine

Unity Engine

GetHashCode()

Returns the hash code for this window.
읽는 시간 1분최근 업데이트: 한 달 전

Definition

public override int GetHashCode()

Returns

Type

Description

intThe hash code for this window.

Examples

using UnityEngine;using UnityEngine.Windowing;public class WindowHashExample : MonoBehaviour{ void Start() { var window = GameWindow.Main; int hash = window.GetHashCode(); Debug.Log($"Window hash: {hash}"); }}