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,9 +1,9 @@
|
||||
tool
|
||||
extends Spatial
|
||||
@tool
|
||||
extends Node3D
|
||||
|
||||
export(bool) var activate_candlestick = false setget activateCandlestick
|
||||
export(bool) var activate_candle = false setget activateCandle
|
||||
export(String, "Candle Top", "Candle A", "Candle B", "Candle C", "Candle D") var list_candles
|
||||
@export var activate_candlestick: bool = false: set = activateCandlestick
|
||||
@export var activate_candle: bool = false: set = activateCandle
|
||||
@export var list_candles # (String, "Candle Top", "Candle A", "Candle B", "Candle C", "Candle D")
|
||||
|
||||
func activateCandlestick(_newCandlestick):
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user