numeric mods
This commit is contained in:
parent
eaa487f16a
commit
5246d8481d
11 changed files with 185 additions and 0 deletions
57
addons/numeric-modifiers/float_mods_property.tscn
Normal file
57
addons/numeric-modifiers/float_mods_property.tscn
Normal file
|
@ -0,0 +1,57 @@
|
|||
[gd_scene format=3 uid="uid://d2ne6ml10xgcl"]
|
||||
|
||||
[node name="FloatModsProperty" type="VBoxContainer"]
|
||||
offset_right = 163.0
|
||||
offset_bottom = 104.0
|
||||
|
||||
[node name="FlatContainer" type="HBoxContainer" parent="."]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="FlatContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Flat"
|
||||
|
||||
[node name="Flat" type="SpinBox" parent="FlatContainer"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(128, 0)
|
||||
layout_mode = 2
|
||||
step = 0.001
|
||||
allow_greater = true
|
||||
allow_lesser = true
|
||||
|
||||
[node name="PercentageContainer" type="HBoxContainer" parent="."]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="PercentageContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "%"
|
||||
|
||||
[node name="Percentage" type="SpinBox" parent="PercentageContainer"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(128, 0)
|
||||
layout_mode = 2
|
||||
max_value = 10.0
|
||||
step = 0.001
|
||||
allow_greater = true
|
||||
allow_lesser = true
|
||||
prefix = "+"
|
||||
|
||||
[node name="MultContainer" type="HBoxContainer" parent="."]
|
||||
layout_mode = 2
|
||||
|
||||
[node name="Label" type="Label" parent="MultContainer"]
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
text = "Mult"
|
||||
|
||||
[node name="Mult" type="SpinBox" parent="MultContainer"]
|
||||
unique_name_in_owner = true
|
||||
custom_minimum_size = Vector2(128, 0)
|
||||
layout_mode = 2
|
||||
step = 0.001
|
||||
value = 1.0
|
||||
allow_greater = true
|
||||
allow_lesser = true
|
||||
prefix = "*"
|
Loading…
Add table
Add a link
Reference in a new issue