Files
gymkhana-actions/game/ui/commons/main_menu/options.gd
Julian Murgia 909031f536 Added translations management
Prepares work for line voiceovers management.
2021-04-07 08:39:59 +02:00

12 lines
274 B
GDScript

extends Control
func _ready():
var locale = TranslationServer.get_locale()
func greyout_other_languages(except_lang : String) -> void:
pass
func _on_language_input(event : InputEvent, language : String):
if event.is_pressed():
TranslationServer.set_locale(language)