您最多选择25个主题 主题必须以中文或者字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符
 
 
 
 
 
 

34 行
1.0 KiB

using System.Collections.Generic;
using Unity.UIWidgets.DevTools.config_specific.framework_initialize;
using Unity.UIWidgets.Editor;
using Unity.UIWidgets.widgets;
using UnityEditor;
namespace Unity.UIWidgets.DevTools
{
public class EditorWindowDevtools : UIWidgetsEditorPanel
{
[MenuItem("UIWidgets/DevTools")]
public static void CountDemo()
{
var myWindow = (EditorWindowDevtools) EditorWindow.GetWindow(typeof(EditorWindowDevtools));
myWindow.Show();
// CreateWindow<EditorWindowDevtools>();
}
protected override void onEnable()
{
AddFont("Material Icons", new List<string> {"MaterialIcons-Regular.ttf"}, new List<int> {0});
}
protected override void main()
{
var preferences = new PreferencesController();
FrameworkInitializeUtils.initializeFramework();
ui_.runApp(
new DevToolsApp(AppUtils.defaultScreens, preferences)
);
}
}
}