This repository has been archived by the owner on Oct 31, 2023. It is now read-only.
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added ability to save to scene, completely reworked save system
Additions: - Added saving canvases to scene which allows for runtime saving (but data is lost after each session) and referencing scene objects safely Changes: - Changed API for saving, now alot cleaner - Changed internals of saving, nor alot more stable Fixes: - Fixed loading in playmode will throw an error because of path type mismatch - Fixed potential errors in GUIScaleUtility - Fixed all saving, playmode change and scene change related errors Notes: - Generally, the save system is much more cleaner, the API is consistent, and it is more stable. - You might need to re-save the save files, atleast before you can properly open them at runtime, because I changed how editorStates are stored and only editor can load those old saves... - GUI for loading scene canvases is temporary right now, planning a proper GUI update with toolbar and everything;) - I plan to add canvas instancing support of some kind, where one canvas is saved as an asset and is instanced in multiple scenes to allow for varying parameters, including scene objects
- Loading branch information
Seneral
committed
Jun 7, 2016
1 parent
a05493e
commit 23c875b
Showing
18 changed files
with
660 additions
and
389 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains 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
This file contains 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
This file contains 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
using UnityEngine; | ||
using NodeEditorFramework; | ||
|
||
public class NodeCanvasSceneSave : MonoBehaviour | ||
{ | ||
public NodeCanvas savedNodeCanvas; | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains 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
This file contains 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
Oops, something went wrong.