11 lines
200 B
GDScript
11 lines
200 B
GDScript
extends CheckButton
|
|
|
|
func _process(delta):
|
|
if LevelManager.skills["walking"].currentLevel < 20:
|
|
hide()
|
|
else:
|
|
show()
|
|
|
|
func _on_toggled(toggled_on):
|
|
GameVariables.player.fastWalking = toggled_on
|