gd: added input addon
This commit is contained in:
14
addons/guide/editor/modifier_slot/modifier_slot.gd
Normal file
14
addons/guide/editor/modifier_slot/modifier_slot.gd
Normal file
@ -0,0 +1,14 @@
|
||||
@tool
|
||||
extends "../resource_slot/resource_slot.gd"
|
||||
|
||||
var modifier:GUIDEModifier:
|
||||
set(value):
|
||||
_value = value
|
||||
get:
|
||||
return _value
|
||||
|
||||
func _accepts_drop_data(data:Resource) -> bool:
|
||||
return data is GUIDEModifier
|
||||
|
||||
|
||||
|
1
addons/guide/editor/modifier_slot/modifier_slot.gd.uid
Normal file
1
addons/guide/editor/modifier_slot/modifier_slot.gd.uid
Normal file
@ -0,0 +1 @@
|
||||
uid://cmvfuu8u5ubkk
|
18
addons/guide/editor/modifier_slot/modifier_slot.tscn
Normal file
18
addons/guide/editor/modifier_slot/modifier_slot.tscn
Normal file
@ -0,0 +1,18 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://ck5a30syo6bpo"]
|
||||
|
||||
[ext_resource type="Script" path="res://addons/guide/editor/modifier_slot/modifier_slot.gd" id="1_273m5"]
|
||||
|
||||
[node name="LineEdit" type="LineEdit"]
|
||||
offset_right = 1920.0
|
||||
offset_bottom = 31.0
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 0
|
||||
text = "Name"
|
||||
editable = false
|
||||
context_menu_enabled = false
|
||||
virtual_keyboard_enabled = false
|
||||
shortcut_keys_enabled = false
|
||||
middle_mouse_paste_enabled = false
|
||||
selecting_enabled = false
|
||||
drag_and_drop_selection_enabled = false
|
||||
script = ExtResource("1_273m5")
|
Reference in New Issue
Block a user