blob: 0b53623151821009b439f6d0a71a380ef9beacbd (
plain)
1
2
3
4
5
6
7
8
9
|
extends TouchScreenButton
@export var texture: Texture2D
# Called when the node enters the scene tree for the first time.
func _ready() -> void:
$TextureRect.texture = texture
if not DisplayServer.is_touchscreen_available():
visible = false
|