Created
March 21, 2024 23:39
-
-
Save baba-s/f592f73b3582a8be6b957136889b30a9 to your computer and use it in GitHub Desktop.
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
using UnityEditor; | |
public static class Example | |
{ | |
[MenuItem( "Tools/Hoge" )] | |
private static void Hoge() | |
{ | |
using var _ = new AssetDatabase.AssetEditingScope(); | |
// ... | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment