[英]Is it possible to detect the current operating system in Haxe?
In Haxe, is there any way to get the name of the current operating system? 在Haxe中,有什么方法可以获取当前操作系统的名称? I'm looking for a way to do this that works in all Haxe target languages.
我正在寻找一种可在所有Haxe目标语言中使用的方法。
使用Sys.systemName()获取操作系统的名称-这适用于多种目标语言。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.