GetHashCode()
Returns the hash code for this window.
Read time 1 minuteLast updated 7 days ago
Definition
- Type: Method
- Namespace: UnityEngine.Windowing
- Assembly: UnityEngine.WindowingModule
public override int GetHashCode()
Returns
Type | Description |
|---|---|
| int | The 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}"); }}