Uploaded game files
This commit is contained in:
parent
459da513f6
commit
f71e7e39a0
1543 changed files with 50503 additions and 0 deletions
12
project/addons/dialogic/Editor/Common/SectionTitle.gd
Normal file
12
project/addons/dialogic/Editor/Common/SectionTitle.gd
Normal file
|
@ -0,0 +1,12 @@
|
|||
tool
|
||||
extends Label
|
||||
export var text_key : String = ""
|
||||
var editor_reference
|
||||
|
||||
func set_text_from_key(value):
|
||||
text = editor_reference.dialogicTranslator.translate(value)
|
||||
|
||||
func _ready():
|
||||
editor_reference = find_parent('EditorView')
|
||||
if text_key != '':
|
||||
set_text_from_key(text_key)
|
20
project/addons/dialogic/Editor/Common/SectionTitle.tscn
Normal file
20
project/addons/dialogic/Editor/Common/SectionTitle.tscn
Normal file
|
@ -0,0 +1,20 @@
|
|||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://addons/dialogic/Editor/Common/SectionTitle.gd" type="Script" id=1]
|
||||
|
||||
[sub_resource type="StyleBoxFlat" id=1]
|
||||
content_margin_left = 4.0
|
||||
content_margin_right = 4.0
|
||||
content_margin_top = 4.0
|
||||
content_margin_bottom = 4.0
|
||||
bg_color = Color( 0.252, 0.2718, 0.3246, 1 )
|
||||
|
||||
[node name="SectionTitle" type="Label"]
|
||||
margin_right = 270.0
|
||||
margin_bottom = 22.0
|
||||
custom_styles/normal = SubResource( 1 )
|
||||
text = "Visuals"
|
||||
script = ExtResource( 1 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
11
project/addons/dialogic/Editor/Common/TLabel.gd
Normal file
11
project/addons/dialogic/Editor/Common/TLabel.gd
Normal file
|
@ -0,0 +1,11 @@
|
|||
tool
|
||||
extends Label
|
||||
export var text_key : String = ""
|
||||
var editor_reference
|
||||
|
||||
func set_text_from_key(value):
|
||||
text = editor_reference.dialogicTranslator.translate(value)
|
||||
|
||||
func _ready():
|
||||
editor_reference = find_parent('EditorView')
|
||||
set_text_from_key(text_key)
|
11
project/addons/dialogic/Editor/Common/TLabel.tscn
Normal file
11
project/addons/dialogic/Editor/Common/TLabel.tscn
Normal file
|
@ -0,0 +1,11 @@
|
|||
[gd_scene load_steps=2 format=2]
|
||||
|
||||
[ext_resource path="res://addons/dialogic/Editor/Common/TLabel.gd" type="Script" id=1]
|
||||
|
||||
[node name="TLabel" type="Label"]
|
||||
anchor_right = 1.0
|
||||
anchor_bottom = 1.0
|
||||
script = ExtResource( 1 )
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue