using System.Collections; using System.Collections.Generic; using UnityEngine; using UnityEditor; namespace YKMoonEditor { public class SaveProjectShortcut : Editor { [MenuItem("YKTools/SaveProject %&s")] public static void SaveProject() { Debug.Log("YKMoon Save Project"); EditorApplication.ExecuteMenuItem("File/Save Project"); } } }