diff --git a/DungeonShooting_Godot/src/framework/map/DungeonRoomTemplate.cs b/DungeonShooting_Godot/src/framework/map/DungeonRoomTemplate.cs index 24f19c7..179d418 100644 --- a/DungeonShooting_Godot/src/framework/map/DungeonRoomTemplate.cs +++ b/DungeonShooting_Godot/src/framework/map/DungeonRoomTemplate.cs @@ -100,7 +100,7 @@ { if (!initConfigs) { - OnMapRectChange(mapRect); + OnMapRectChange(); } } _prevRect = mapRect; @@ -611,7 +611,7 @@ } //地图大小改变 - private void OnMapRectChange(Rect2 mapRect) + private void OnMapRectChange() { _doorConfigs.Clear(); _canPut = false; @@ -708,7 +708,9 @@ } } - //反序列化 DungeonRoomInfo + /// + /// 反序列化 DungeonRoomInfo + /// public static DungeonRoomInfo DeserializeDungeonRoomInfo(string text) { // 下面这句代码在 Godot4.0_rc2的编辑器模式下, 重载脚本会导致编辑器一直报错!, 所以暂时先用下面的方法