This commit is contained in:
2023-05-29 22:16:16 +02:00
parent a6c457788c
commit 1ad383448b
5 changed files with 23 additions and 8 deletions

View File

@@ -5,9 +5,23 @@ resource_name = "load"
script/source = "@tool
extends Node3D
@export var load_list = [
\"anlagen\",
\"boden\",
\"bok\",
\"fensterscheiben\",
\"gelaender\",
\"kraftfelder\",
\"rundgang\",
\"stampfer\",
\"timetunnel\",
\"waende\",
]
func _ready():
var scene = load(\"sar://D:/Moorhuhnkart/3dobjects_tracks/track07_ufo/waende.lwo\").instantiate()
add_child(scene)
for item in load_list:
var scene = load(\"sar://D:/Moorhuhnkart/3dobjects_tracks/track07_ufo/%s.lwo\" % item).instantiate()
add_child(scene)
"
[node name="test" type="Node3D"]