using ColdMint.scripts.debug; using ColdMint.scripts.inventory; using ColdMint.scripts.loader.uiLoader; using ColdMint.scripts.map; using ColdMint.scripts.map.interfaces; using ColdMint.scripts.map.room; using ColdMint.scripts.map.roomHolder; using ColdMint.scripts.map.RoomPlacer; using ColdMint.scripts.map.RoomProvider; using ColdMint.scripts.map.slotsMatcher; using ColdMint.scripts.utils; using Godot; namespace ColdMint.scripts.loader.sceneLoader; public partial class GameSceneLoader : SceneLoaderTemplate { private IMapGenerator _mapGenerator; private IMapGeneratorConfig _mapGeneratorConfig; public override void InitializeData() { //加载血条场景 var healthBarUI = GetNode("CanvasLayer/Control/VBoxContainer/HealthBarUi"); NodeUtils.DeleteAllChild(healthBarUI); GameSceneNodeHolder.HealthBarUi = healthBarUI; //加载HotBar var hotBar = GetNode("CanvasLayer/Control/VBoxContainer/HotBar"); NodeUtils.DeleteAllChild(hotBar); GameSceneNodeHolder.HotBar = hotBar; //加载操作提示 var operationTip = GetNode