Skip to content

Commit

Permalink
Verified slicing works, fixed issue with wizard not setting asset as …
Browse files Browse the repository at this point in the history
…dirty (which caused asset not to be saved correctly)
  • Loading branch information
adam-k-leung committed Apr 27, 2022
1 parent 9bb4f3c commit 09f3275
Show file tree
Hide file tree
Showing 3 changed files with 84 additions and 80 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ void OnWizardCreate() {
break;

case Mode.UpdateExistingSlideData:
EditorUtility.SetDirty(sliceDataToUpdate);
sliceDataToUpdate.SliceData = sprites.GenerateSliceData();
AssetDatabase.SaveAssets();
EditorUtility.FocusProjectWindow();
Expand Down
67 changes: 35 additions & 32 deletions ProjectSettings/UnityConnectSettings.asset

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 09f3275

Please sign in to comment.