using UnityEngine; namespace Michsky.UI.Heat { public class ExitGame : MonoBehaviour { public void Exit() { Application.Quit(); #if UNITY_EDITOR Debug.Log("[Heat UI] Exit function works in builds only."); #endif } } }