StationObscurum/Assets/Packages/Heat - Complete Modern UI/Scripts/Misc/ExitGame.cs
2024-02-01 22:45:59 -05:00

15 lines
287 B
C#

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