Skip to content

Instantly share code, notes, and snippets.

View liveasnotes's full-sized avatar
🔰
Eternal Beginner

liveasnotes

🔰
Eternal Beginner
View GitHub Profile
@liveasnotes
liveasnotes / AutoSave.cs
Last active March 19, 2023 11:49 — forked from tsubaki/AutoSave.cs
Auto Save scene(& prefab). and backup/rollback scene
// (c) https://gist.github.com/tsubaki/8709502
// note: i will made this suit for newer api
// cf.
// https://gist.github.com/wakepon/b5f2802d988514dbadbc8a143e1fefd6
// https://forum.unity.com/threads/getting-list-of-all-opened-scenes.388599/
// https://webcache.googleusercontent.com/search?q=cache:BXEknzUYN0QJ:https://charcotte.hateblo.jp/entry/2019/03/28/003249
// https://web.archive.org/web/20201123162857/https://webcache.googleusercontent.com/search?q=cache%3ABXEknzUYN0QJ%3Ahttps%3A%2F%2Fcharcotte.hateblo.jp%2Fentry%2F2019%2F03%2F28%2F003249
// https://forum.unity.com/threads/editorapplication-currentscene-obsolete.374669/
using System.Collections;