Exemplo n.º 1
0
    public static void OpenAPIWindows()
    {
        bool result = EditorUtility.DisplayDialog("API通知", "是否查阅API接口", "Open", "Cancel");

        if (result)
        {
            APIWindwos.ShowAPIWindwos();
        }
    }
Exemplo n.º 2
0
 public static void ShowAPIWindwos()
 {
     _instance = EditorWindow.GetWindow <APIWindwos>();
     _instance.titleContent = new GUIContent("EasyMVC API");
 }