12 lines
327 B
GDScript
12 lines
327 B
GDScript
class_name SavedData
|
|
extends Resource
|
|
# Main class that can save a node's information
|
|
# Every node's save data extends from this class
|
|
|
|
# Position of the node to save
|
|
@export var position: Vector3 = Vector3.ZERO
|
|
|
|
@export var rotation: Vector3 = Vector3.ZERO
|
|
|
|
# Path to the scene of the node
|
|
@export var scene_path: String = ""
|