2023-04-03 11:04:31 +08:00

40 lines
920 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEditor;
using UnityEngine;
namespace BFEditor.Resource
{
public class CheckCharacterResultWindow : EditorWindow
{
private static string text;
public static void OpenWindow()
{
var window = (CheckCharacterResultWindow)GetWindowWithRect(typeof(CheckCharacterResultWindow),
new Rect(Screen.width / 2, Screen.height / 2, 500, 800), true);
window.Show();
}
public static void SetTextInfo(string str)
{
text = str;
}
void OnGUI()
{
GUILayout.Space(10);
GUILayout.BeginVertical();
GUILayout.TextField(text , GUILayout.Height(600), GUILayout.Width(480));
if (GUILayout.Button("开始导入"))
{
ImportCharacterTools.ImportAll();
}
GUILayout.EndVertical();
}
}
}