This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
extends Node | |
func save_game(): | |
var scene = PackedScene.new() | |
scene.pack(self) | |
ResourceSaver.save("user://save_01.tscn", scene) | |
func load_game(): | |
var scene = load("user://save_01.tscn") |
OlderNewer