-
-
Save ijoschek/94efafc5694be2261443660a79b1eb92 to your computer and use it in GitHub Desktop.
godot_custom_keybind_tut
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
func _mark_button(string): | |
can_change_key = true | |
action_string = string | |
for j in ACTIONS: | |
if j != string: | |
get_node("Panel/ScrollContainer/VBoxContainer/HBoxCont_" + str(j) + "/Button").set_pressed(false) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment