blob: 07958ead901cd2e97976e20d1aadf7c117181e17 (
plain)
1
2
3
4
5
6
7
8
9
10
|
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
#visible = true
|