Run godot --convert-3to4 (automated conversion)
Apply Godot 4.6 automated conversion: renames Spatial.translate->position, margin_*->offset_*, tool->@tool, .empty()->.is_empty(), DynamicFont->FontFile, onready->@onready, export()->@export, and many more. 127 files changed by the tool. Manual fixes still required for: - godot_db_manager plugin (incompatible APIs: WindowDialog, Tabs, etc.) - lod plugin (Spatial -> Node3D renames) - ResourceLoader.load_interactive removed -> load_threaded_request - OS.set_window_fullscreen removed -> DisplayServer - Viewport.set_size_override removed Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -1,18 +1,18 @@
|
||||
[gd_scene load_steps=3 format=2]
|
||||
|
||||
[ext_resource path="res://assets/ui/themes/UI-Button-Back.png" type="Texture" id=1]
|
||||
[ext_resource path="res://assets/ui/themes/UI-Button-Back-Overlay.png" type="Texture" id=2]
|
||||
[ext_resource path="res://assets/ui/themes/UI-Button-Back.png" type="Texture2D" id=1]
|
||||
[ext_resource path="res://assets/ui/themes/UI-Button-Back-Overlay.png" type="Texture2D" id=2]
|
||||
|
||||
[node name="Control" type="Control"]
|
||||
margin_right = 1440.0
|
||||
margin_bottom = 900.0
|
||||
offset_right = 1440.0
|
||||
offset_bottom = 900.0
|
||||
__meta__ = {
|
||||
"_edit_use_anchors_": false
|
||||
}
|
||||
|
||||
[node name="TextureButton" type="TextureButton" parent="."]
|
||||
margin_right = 40.0
|
||||
margin_bottom = 40.0
|
||||
offset_right = 40.0
|
||||
offset_bottom = 40.0
|
||||
mouse_default_cursor_shape = 2
|
||||
texture_normal = ExtResource( 1 )
|
||||
texture_hover = ExtResource( 2 )
|
||||
|
||||
Reference in New Issue
Block a user