rabidus-test/Assets/Plugins/QFSW/Quantum Console/Source/Extras/ApplicationCommands.cs

14 lines
353 B
C#

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();
}
}
}