Files
Game/scripts/Statemachine/Abstract/BaseMenu.gd
T

11 lines
211 B
GDScript
Raw Normal View History

@tool
extends Control
class_name BaseMenu
@export var backgroundColor: Color = Color.WHITE
@onready var backgroundRect: ColorRect = $%background
func _ready() -> void:
backgroundRect.color = backgroundColor