Made Setting Options a component so I don't have to hand type and change everything
This commit is contained in:
24
Assets/components/Settings_Option.tscn
Normal file
24
Assets/components/Settings_Option.tscn
Normal file
@ -0,0 +1,24 @@
|
||||
[gd_scene load_steps=2 format=3 uid="uid://dmut5abf8v8c1"]
|
||||
|
||||
[ext_resource type="Script" path="res://Assets/scripts/Component Scripts/Settings_Option.gd" id="1_aieqa"]
|
||||
|
||||
[node name="HBoxContainer" type="HBoxContainer"]
|
||||
custom_minimum_size = Vector2(0, 40)
|
||||
alignment = 1
|
||||
script = ExtResource("1_aieqa")
|
||||
|
||||
[node name="Label" type="Label" parent="."]
|
||||
custom_minimum_size = Vector2(400, 0)
|
||||
layout_mode = 2
|
||||
text = "Mouse Sensitity"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="HSlider" type="HSlider" parent="."]
|
||||
custom_minimum_size = Vector2(200, 0)
|
||||
layout_mode = 2
|
||||
size_flags_horizontal = 3
|
||||
size_flags_vertical = 4
|
||||
value = 40.0
|
||||
|
||||
[connection signal="value_changed" from="HSlider" to="." method="_on_setting_slider_value_changed"]
|
||||
Reference in New Issue
Block a user