#Getting a scene in my scene folder to spawn it on a spawner

4 messages · Page 1 of 1 (latest)

spring crag
#

Like this

extends Node3D
@export var bad_guy: PackedScene

func spawn():
  var b = bad_guy.instantiate()
  b.position = position
  get_tree().current_scene.add_child(b)
iron swift
#

ooooo

#

i'll try

#

do you have an equivalent in c#?