Vore_Sandbox_Remaster/scripts/UI/touch_button_colour.gd

12 lines
243 B
GDScript

extends TouchScreenButton
#just a simple script to make its colour tint when pressed
func _ready():
connect("pressed",self,"down")
connect("released",self,"up")
func down():
modulate = Color("#bababa")
func up():
modulate = Color.white