如何关闭 haxe / openfl / Lime / flixel / neko 上的窗口

问题描述 投票:0回答:1

我想制作一个按下按钮后关闭程序的功能,但我不知道如何关闭程序。我顺便用neko。

我搜索了inter,但没有找到任何有效的东西,或者它只适用于flash或html5。

haxe openfl haxeflixel lime flixel
1个回答
0
投票

我找到了一种退出程序的方法。

首先,您需要输入:

import lime.system.System;
然后,在要退出的行上输入:
System.exit(0);

© www.soinside.com 2019 - 2024. All rights reserved.