create game_menu, page generic, page_1, page_2 and relatives widgets
This commit is contained in:
12
core/game_menu/tab.gd
Normal file
12
core/game_menu/tab.gd
Normal file
@@ -0,0 +1,12 @@
|
||||
@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
|
||||
Reference in New Issue
Block a user