blob: 5c62500bcbaa78849da85d4e33a4b8910ccafa67 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
class_name Spawn
extends Node2D
@export var next_node: Node2D
var spawn_position: Vector2
func _ready():
spawn_position = $SpawnPosition.global_position
func get_rpc_properties():
return {
"global_position": null,
"spawn_position": null,
"next_node": "res://Stages/Paths/PathNode.tscn",
}
|