gd: added input addon
This commit is contained in:
18
guide_examples/remapping/ui/binding_section.gd
Normal file
18
guide_examples/remapping/ui/binding_section.gd
Normal file
@ -0,0 +1,18 @@
|
||||
@tool
|
||||
extends MarginContainer
|
||||
|
||||
@onready var _label:Label = %Label
|
||||
|
||||
@export var text:String:
|
||||
set(value):
|
||||
text = value
|
||||
_refresh()
|
||||
|
||||
|
||||
func _ready():
|
||||
_refresh()
|
||||
|
||||
func _refresh():
|
||||
if _label != null:
|
||||
_label.text = text
|
||||
|
Reference in New Issue
Block a user