string The title of the window as a string.
Gets the title of the window.
using UnityEngine; using UnityEngine.Windowing;
public class WindowTitleExample : MonoBehaviour { void Start() { var window = GameWindow.Main; string title = window.GetTitle(); Debug.Log($"Window title: {title}"); } }