Small adjustment to map loading stuff
This commit is contained in:
@@ -10,7 +10,7 @@ public partial class SpecialFloorLayoutNode : EditorPlugin
|
||||
{
|
||||
// Initialization of the plugin goes here.
|
||||
var script = GD.Load<Script>("res://addons/special_floor_layout_node/SpecialFloorLayout.cs");
|
||||
var texture = GD.Load<Texture2D>("res://addons/special_floor_layout_node/icon_door.png");
|
||||
var texture = GD.Load<Texture2D>("res://addons/special_floor_layout_node/icon.png");
|
||||
AddCustomType(nameof(SpecialFloorLayout), nameof(LayoutType), script, texture);
|
||||
}
|
||||
|
||||
|
||||
BIN
Zennysoft.Game.Ma/addons/special_floor_layout_node/icon.png
Normal file
BIN
Zennysoft.Game.Ma/addons/special_floor_layout_node/icon.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 158 B |
@@ -2,16 +2,16 @@
|
||||
|
||||
importer="texture"
|
||||
type="CompressedTexture2D"
|
||||
uid="uid://pxevsja7e3s0"
|
||||
path="res://.godot/imported/icon_door.png-d7e4ac87b8cdfac1c9f03b9aff4c7e79.ctex"
|
||||
uid="uid://dkj2u56olatdq"
|
||||
path="res://.godot/imported/icon.png-f3d3329191ced87c3dfb24631add3cb6.ctex"
|
||||
metadata={
|
||||
"vram_texture": false
|
||||
}
|
||||
|
||||
[deps]
|
||||
|
||||
source_file="res://addons/special_floor_layout_node/icon_door.png"
|
||||
dest_files=["res://.godot/imported/icon_door.png-d7e4ac87b8cdfac1c9f03b9aff4c7e79.ctex"]
|
||||
source_file="res://addons/special_floor_layout_node/icon.png"
|
||||
dest_files=["res://.godot/imported/icon.png-f3d3329191ced87c3dfb24631add3cb6.ctex"]
|
||||
|
||||
[params]
|
||||
|
||||
Binary file not shown.
|
Before Width: | Height: | Size: 161 B |
Reference in New Issue
Block a user