Init
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
#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
|
||||
Reference in New Issue
Block a user