From a8e7988c2a6bd980b513ec10115cc691afb20c2d Mon Sep 17 00:00:00 2001 From: Josef Date: Wed, 8 May 2024 09:19:48 +0200 Subject: [PATCH] Sensors --- Icons/RJOnEvent.svg | 39 +++++++++++++++++++++++++++++++++++ Icons/RJOnEvent.svg.import | 37 +++++++++++++++++++++++++++++++++ Runtime/Actions/ActionList.cs | 2 +- Runtime/Actions/OnReady.cs | 2 +- Runtime/Sensors/OnSensor.cs | 2 +- 5 files changed, 79 insertions(+), 3 deletions(-) create mode 100644 Icons/RJOnEvent.svg create mode 100644 Icons/RJOnEvent.svg.import diff --git a/Icons/RJOnEvent.svg b/Icons/RJOnEvent.svg new file mode 100644 index 0000000..d071c20 --- /dev/null +++ b/Icons/RJOnEvent.svg @@ -0,0 +1,39 @@ + + + + + + diff --git a/Icons/RJOnEvent.svg.import b/Icons/RJOnEvent.svg.import new file mode 100644 index 0000000..f851e7c --- /dev/null +++ b/Icons/RJOnEvent.svg.import @@ -0,0 +1,37 @@ +[remap] + +importer="texture" +type="CompressedTexture2D" +uid="uid://c7ie66dc2001j" +path="res://.godot/imported/RJOnEvent.svg-5454a5a8fda6964ac7468efc75d89600.ctex" +metadata={ +"vram_texture": false +} + +[deps] + +source_file="res://Scripts/Rokojori/Rokojori-Action-Library/Icons/RJOnEvent.svg" +dest_files=["res://.godot/imported/RJOnEvent.svg-5454a5a8fda6964ac7468efc75d89600.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 diff --git a/Runtime/Actions/ActionList.cs b/Runtime/Actions/ActionList.cs index 2eb1b47..41c86c0 100644 --- a/Runtime/Actions/ActionList.cs +++ b/Runtime/Actions/ActionList.cs @@ -4,7 +4,7 @@ using Godot; namespace Rokojori { - [GlobalClass,Icon("res://Scripts/Rokojori/Rokojori-Action-Library/Icons/RJActionList.svg")] + [GlobalClass, Icon("res://Scripts/Rokojori/Rokojori-Action-Library/Icons/RJActionList.svg") ] public partial class ActionList : RJAction { [Export] diff --git a/Runtime/Actions/OnReady.cs b/Runtime/Actions/OnReady.cs index 5fdcfbe..f9cfd3d 100644 --- a/Runtime/Actions/OnReady.cs +++ b/Runtime/Actions/OnReady.cs @@ -4,7 +4,7 @@ using Godot; namespace Rokojori { - [GlobalClass] + [GlobalClass, Icon("res://Scripts/Rokojori/Rokojori-Action-Library/Icons/RJOnEvent.svg") ] public partial class OnReady : Node { [Export] diff --git a/Runtime/Sensors/OnSensor.cs b/Runtime/Sensors/OnSensor.cs index 5b3f374..cff8640 100644 --- a/Runtime/Sensors/OnSensor.cs +++ b/Runtime/Sensors/OnSensor.cs @@ -4,7 +4,7 @@ using Godot; namespace Rokojori { - [GlobalClass] + [GlobalClass, Icon("res://Scripts/Rokojori/Rokojori-Action-Library/Icons/RJOnEvent.svg") ] public partial class OnSensor: Node { [Export]