This commit is contained in:
2026-01-21 23:40:20 +01:00
commit d1f8068081
478 changed files with 24902 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
extends Node3D
class_name ItemSpawner
@export var identifier: String
@export var spawnedItem: PackedScene
func spawnItem() -> Node:
if spawnedItem:
var obj = spawnedItem.instantiate()
self.add_child(obj)
#obj.position = position
#obj.rotation = rotation
return obj
return null