Starting work on allowing for GDScript to code various functionality in Overlay outside of normal backend code. Such as event handling, sending messages, alerts, etc, etc.
48 lines
1.8 KiB
Text
48 lines
1.8 KiB
Text
[gd_scene format=3 uid="uid://cetlbpyakk1vo"]
|
|
|
|
[ext_resource type="Script" uid="uid://d1t6dwda2ccbc" path="res://UI/Controls/script_editor.gd" id="1_2d8la"]
|
|
[ext_resource type="Theme" uid="uid://bh8pw2ic1krk3" path="res://UI/assets/editor_theme.tres" id="2_b6d4x"]
|
|
[ext_resource type="CodeHighlighter" uid="uid://cana6jwydsw5b" path="res://UI/assets/gdscript_highlighter4.tres" id="2_tuoer"]
|
|
|
|
[node name="ScriptEditor" type="PanelContainer" unique_id=1486890629]
|
|
anchors_preset = 15
|
|
anchor_right = 1.0
|
|
anchor_bottom = 1.0
|
|
grow_horizontal = 2
|
|
grow_vertical = 2
|
|
script = ExtResource("1_2d8la")
|
|
|
|
[node name="MarginContainer" type="MarginContainer" parent="." unique_id=357949885]
|
|
layout_mode = 2
|
|
theme_override_constants/margin_left = 10
|
|
theme_override_constants/margin_top = 10
|
|
theme_override_constants/margin_right = 10
|
|
theme_override_constants/margin_bottom = 10
|
|
|
|
[node name="VBoxContainer" type="VBoxContainer" parent="MarginContainer" unique_id=140758909]
|
|
layout_mode = 2
|
|
|
|
[node name="HBoxContainer" type="HBoxContainer" parent="MarginContainer/VBoxContainer" unique_id=2023186459]
|
|
layout_mode = 2
|
|
|
|
[node name="RunScript" type="Button" parent="MarginContainer/VBoxContainer/HBoxContainer" unique_id=356048785]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
text = "Run Script"
|
|
|
|
[node name="CodeEditor" type="CodeEdit" parent="MarginContainer/VBoxContainer" unique_id=1991835537]
|
|
unique_name_in_owner = true
|
|
layout_mode = 2
|
|
size_flags_vertical = 3
|
|
theme = ExtResource("2_b6d4x")
|
|
scroll_smooth = true
|
|
scroll_past_end_of_file = true
|
|
syntax_highlighter = ExtResource("2_tuoer")
|
|
line_folding = true
|
|
gutters_draw_line_numbers = true
|
|
gutters_zero_pad_line_numbers = true
|
|
gutters_draw_fold_gutter = true
|
|
indent_use_spaces = true
|
|
indent_automatic = true
|
|
auto_brace_completion_enabled = true
|
|
auto_brace_completion_highlight_matching = true
|