22 lines
478 B
GDScript3
22 lines
478 B
GDScript3
|
extends Button
|
||
|
var show_mes:String=""
|
||
|
|
||
|
# Called when the node enters the scene tree for the first time.
|
||
|
func _ready() -> void:
|
||
|
pass # Replace with function body.
|
||
|
|
||
|
|
||
|
# Called every frame. 'delta' is the elapsed time since the previous frame.
|
||
|
func _process(delta: float) -> void:
|
||
|
pass
|
||
|
|
||
|
|
||
|
func _on_button_down() -> void:
|
||
|
modulate=Color(0.5,0.5,0.5,1)
|
||
|
pass # Replace with function body.
|
||
|
|
||
|
|
||
|
func _on_button_up() -> void:
|
||
|
modulate=Color(1,1,1,1)
|
||
|
pass # Replace with function body.
|