fix:修复代码警告和UID冲突问题
- 更新 ProjectPaths.gd 中的路径引用,适配新的目录结构 - 修复 SceneManager.gd 中的场景路径问题 - 更新 project.godot 配置,修复 AutoLoad 路径 - 修复 MainScene 相关文件的 UID 冲突 - 解决代码中的路径引用警告
This commit is contained in:
@@ -11,13 +11,13 @@ var is_changing_scene: bool = false
|
||||
|
||||
# 场景路径映射
|
||||
var scene_paths: Dictionary = {
|
||||
"main": "res://Scenes/Maps/main_scene.tscn",
|
||||
"auth": "res://UI/Windows/LoginWindow.tscn",
|
||||
"game": "res://Scenes/Maps/game_scene.tscn",
|
||||
"battle": "res://Scenes/Maps/battle_scene.tscn",
|
||||
"inventory": "res://UI/Windows/InventoryWindow.tscn",
|
||||
"shop": "res://UI/Windows/ShopWindow.tscn",
|
||||
"settings": "res://UI/Windows/SettingsWindow.tscn"
|
||||
"main": "res://scenes/maps/main_scene.tscn",
|
||||
"auth": "res://scenes/ui/LoginWindow.tscn",
|
||||
"game": "res://scenes/maps/game_scene.tscn",
|
||||
"battle": "res://scenes/maps/battle_scene.tscn",
|
||||
"inventory": "res://scenes/ui/InventoryWindow.tscn",
|
||||
"shop": "res://scenes/ui/ShopWindow.tscn",
|
||||
"settings": "res://scenes/ui/SettingsWindow.tscn"
|
||||
}
|
||||
|
||||
func _ready():
|
||||
|
||||
Reference in New Issue
Block a user