c67246cd1a
Get System Language Category: Native To get the current system language according to the IS0 639 standard. The Krom platform always returns “en”.
14 lines
241 B
Haxe
14 lines
241 B
Haxe
package armory.logicnode;
|
|
|
|
class GetSystemLanguage extends LogicNode {
|
|
|
|
public function new(tree: LogicTree) {
|
|
super(tree);
|
|
}
|
|
|
|
override function get(from: Int): Dynamic {
|
|
if (from == 0) return kha.System.language;
|
|
return null;
|
|
}
|
|
}
|