chore: 初始化游戏项目基础框架与菜单系统
新增了基础菜单抽象类、主题配置、开场与主菜单场景,添加了所需的资源文件与项目配置,完善了项目基础结构
This commit is contained in:
@@ -0,0 +1,10 @@
|
||||
@tool
|
||||
extends Control
|
||||
class_name BaseMenu
|
||||
|
||||
@export var backgroundColor: Color = Color.WHITE
|
||||
|
||||
@onready var backgroundRect: ColorRect = $%background
|
||||
|
||||
func _ready() -> void:
|
||||
backgroundRect.color = backgroundColor
|
||||
Reference in New Issue
Block a user