Change how different sensor types ar handled
This commit is contained in:
@@ -8,22 +8,22 @@ script = ExtResource("1_hmdxp")
|
||||
metadata/_custom_type_script = "uid://b3rfje1auw6to"
|
||||
|
||||
[node name="Panel" type="Panel" parent="." unique_id=1393400967]
|
||||
offset_right = 306.0
|
||||
offset_bottom = 70.0
|
||||
offset_right = 460.0
|
||||
offset_bottom = 120.0
|
||||
|
||||
[node name="Label" type="Label" parent="." unique_id=1070194714]
|
||||
offset_right = 306.0
|
||||
offset_bottom = 70.0
|
||||
theme_override_font_sizes/font_size = 32
|
||||
text = "Altitude: 99999 ft"
|
||||
offset_right = 460.0
|
||||
offset_bottom = 120.0
|
||||
theme_override_font_sizes/font_size = 80
|
||||
text = "Alt: 99999 ft"
|
||||
horizontal_alignment = 1
|
||||
vertical_alignment = 1
|
||||
|
||||
[node name="MovableControl" type="Control" parent="." unique_id=1186292353 node_paths=PackedStringArray("move_target")]
|
||||
layout_mode = 3
|
||||
anchors_preset = 0
|
||||
offset_right = 306.0
|
||||
offset_bottom = 70.0
|
||||
offset_right = 460.0
|
||||
offset_bottom = 120.0
|
||||
mouse_filter = 1
|
||||
script = ExtResource("2_34sps")
|
||||
move_target = NodePath("..")
|
||||
|
||||
@@ -14,4 +14,4 @@ func _ready() -> void:
|
||||
func _update_data():
|
||||
if label_node == null:
|
||||
return
|
||||
label_node.text = 'Altitude: ' + str(int(round(host_vehicle.altitude_m * Constants.M2FT))) + ' ft'
|
||||
label_node.text = 'Alt: ' + str(int(round(host_vehicle.altitude_m * Constants.M2FT))) + ' ft'
|
||||
|
||||
Reference in New Issue
Block a user