added models and changed spawnpoint
This commit is contained in:
parent
2cf0846597
commit
877ebafc74
1007 changed files with 120779 additions and 37 deletions
|
|
@ -3,6 +3,9 @@ extends Node
|
|||
@onready var scene_root = $/root/Game/CurrentScene
|
||||
var current_world : Node = null
|
||||
|
||||
func get_world() -> String:
|
||||
return current_world.scene_file_path
|
||||
|
||||
func set_world(path: String):
|
||||
if ResourceLoader.exists(path):
|
||||
var world = load(path).instantiate()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue