15 lines
287 B
C#
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
|
||
|
}
|
||
|
}
|
||
|
}
|