概要
using UnityEditor; using UnityEngine; public static class ExampleClass { [MenuItem( "Tools/Example" )] private static void Example() { Debug.Log( EditorApplication.currentScene ); } }
using UnityEditor; using UnityEngine; public static class ExampleClass { [MenuItem( "Tools/Example" )] private static void Example() { Debug.Log( EditorApplication.currentScene ); } }