using System.Collections;
using System.Collections.Generic;
using UnityEngine;
namespace Deconstruction.Runtime
{
///
/// Xeric 库的运行时辅助类库
///
public static class XericHelper
{
#region 程序运行
///
/// 离开出游戏模式(在编辑模式时仅退出)
///
public static void ExitGameMode()
{
#if UNITY_EDITOR
if (Application.isPlaying)
{
UnityEditor.EditorApplication.ExitPlaymode();
}
#else
Application.Quit();
#endif
}
#endregion
}
}