Files
tgcc/core/game_menu/arrow_button.gd
2026-05-12 23:48:04 +02:00

14 lines
246 B
GDScript

@tool
extends Control
@export var image: Texture:
set(value):
image = value
if is_inside_tree() and has_node("%Texture"):
$%Texture.texture = image
func _ready():
if image != null and has_node("%Texture"):
$%Texture.texture = image