From db1805eec5bae949e26edd8c27bd787bacd59075 Mon Sep 17 00:00:00 2001 From: Stefano Pigozzi Date: Tue, 16 Apr 2024 00:17:10 +0200 Subject: [PATCH] Add icon to `HoverDetector` --- behaviours/hover_detector.gd | 1 + behaviours/hover_detector.svg | 39 ++++++++++++++++++++++++++++ behaviours/hover_detector.svg.import | 37 ++++++++++++++++++++++++++ 3 files changed, 77 insertions(+) create mode 100644 behaviours/hover_detector.svg create mode 100644 behaviours/hover_detector.svg.import diff --git a/behaviours/hover_detector.gd b/behaviours/hover_detector.gd index 714fc4d..616e72a 100644 --- a/behaviours/hover_detector.gd +++ b/behaviours/hover_detector.gd @@ -1,3 +1,4 @@ +@icon("res://behaviours/hover_detector.svg") extends Area2D class_name HoverDetector diff --git a/behaviours/hover_detector.svg b/behaviours/hover_detector.svg new file mode 100644 index 0000000..4a154e9 --- /dev/null +++ b/behaviours/hover_detector.svg @@ -0,0 +1,39 @@ + + + + + + + diff --git a/behaviours/hover_detector.svg.import b/behaviours/hover_detector.svg.import new file mode 100644 index 0000000..b27371a --- /dev/null +++ b/behaviours/hover_detector.svg.import @@ -0,0 +1,37 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://6wpumqhdov4r" +path="res://.godot/imported/hover_detector.svg-3bfd5bde28e59dd82344da683ff70f2d.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://behaviours/hover_detector.svg" +dest_files=["res://.godot/imported/hover_detector.svg-3bfd5bde28e59dd82344da683ff70f2d.ctex"] + +[params] + +compress/mode=0 +compress/high_quality=false +compress/lossy_quality=0.7 +compress/hdr_compression=1 +compress/normal_map=0 +compress/channel_pack=0 +mipmaps/generate=false +mipmaps/limit=-1 +roughness/mode=0 +roughness/src_normal="" +process/fix_alpha_border=true +process/premult_alpha=false +process/normal_map_invert_y=false +process/hdr_as_srgb=false +process/hdr_clamp_exposure=false +process/size_limit=0 +detect_3d/compress_to=1 +svg/scale=1.0 +editor/scale_with_editor_scale=false +editor/convert_colors_with_editor_theme=false