Skip to content

v2.0 #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 29 commits into from
May 29, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
29 commits
Select commit Hold shift + click to select a range
218dc16
Update README.md
destructive-crab May 5, 2025
21d403a
Upload screenshots
destructive-crab May 5, 2025
f908a7e
Update README.md
destructive-crab May 5, 2025
3548452
Merge branch 'main' of https://github.com/destructive-crab/SceneSwitcher
destructive-crab May 5, 2025
3e307bd
Update README.md
destructive-crab May 5, 2025
c0e7185
Upload settings screenshots
destructive-crab May 5, 2025
5012d75
Update README.md
destructive-crab May 5, 2025
59aec5e
Update README.md
destructive-crab May 5, 2025
a8e7ec7
Update package.json
destructive-crab May 5, 2025
8cde05c
Upload scripts
destructive-crab May 5, 2025
f496ebe
Update README.md
destructive-crab May 7, 2025
70a9a6d
Update README.md
destructive-crab May 7, 2025
9d4cc0a
Screenshots update
destructive-crab May 7, 2025
2e4e358
Update README.md
destructive-crab May 7, 2025
2d4126e
Update README.md
destructive-crab May 7, 2025
65e6873
v2.1 scripts
destructive-crab May 7, 2025
d830b60
Merge branch 'main' of https://github.com/destructive-crab/SceneSwitcher
destructive-crab May 7, 2025
f2a881b
Update README.md
destructive-crab May 8, 2025
edd829e
External usings fix
destructive-crab May 8, 2025
4722843
Merge branch 'main' of https://github.com/destructive-crab/SceneSwitcher
destructive-crab May 8, 2025
136994b
v2.2
destructive-crab May 28, 2025
504a05c
Screenshots upload
destructive-crab May 28, 2025
37e1f10
Update README.md
destructive-crab May 28, 2025
50f1310
Update README.md
destructive-crab May 28, 2025
d42403f
Update README.md
destructive-crab May 28, 2025
b3517b6
Update README.md
destructive-crab May 28, 2025
8e1a9bd
Update README.md
destructive-crab May 28, 2025
4dc2b21
Update README.md
destructive-crab May 28, 2025
aefeefb
Update package.json
destructive-crab May 28, 2025
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions Editor.meta

This file was deleted.

8 changes: 0 additions & 8 deletions Editor/SceneSwitcher.meta

This file was deleted.

19 changes: 19 additions & 0 deletions Editor/SceneSwitcher/AssetChangeListener.cs
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
using System;
using UnityEditor;

namespace RimuruDevUtils.SceneSwitcher
{
public class AssetChangeListener : AssetPostprocessor
{
public static event Action AssetsWereChanged;

private static void OnPostprocessAllAssets(string[] importedAssets, string[] deletedAssets, string[] movedAssets,
string[] movedFromAssetPaths)
{
if (importedAssets.Length != 0 || deletedAssets.Length != 0)
{
AssetsWereChanged?.Invoke();
}
}
}
}
Loading