public static void OpenAPIWindows() { bool result = EditorUtility.DisplayDialog("API通知", "是否查阅API接口", "Open", "Cancel"); if (result) { APIWindwos.ShowAPIWindwos(); } }
public static void ShowAPIWindwos() { _instance = EditorWindow.GetWindow <APIWindwos>(); _instance.titleContent = new GUIContent("EasyMVC API"); }