Files
Learning-UnityNGO/Assets/Plugins/QFSW/Quantum Console/Source/Extras/ApplicationCommands.cs
T
2026-06-17 20:44:53 +03:00

16 lines
433 B
C#

#if !QC_DISABLED && !QC_DISABLE_BUILTIN_ALL && !QC_DISABLE_BUILTIN_EXTRA
using UnityEngine;
namespace QFSW.QC.Extras
{
public static class ApplicationCommands
{
[Command("quit", "Quits the player application")]
[CommandPlatform(Platform.AllPlatforms ^ (Platform.EditorPlatforms | Platform.WebGLPlayer))]
private static void Quit()
{
Application.Quit();
}
}
}
#endif