destroyed proj
This commit is contained in:
23
Packages/SzafaKit/Editor/Oracle/OracleWindow.cs
Normal file
23
Packages/SzafaKit/Editor/Oracle/OracleWindow.cs
Normal file
@@ -0,0 +1,23 @@
|
||||
using UnityEditor;
|
||||
using UnityEngine;
|
||||
using UnityEngine.UIElements;
|
||||
|
||||
namespace SzafaKitEditor.Oracle {
|
||||
public class OracleWindow : EditorWindow {
|
||||
[SerializeField]
|
||||
private VisualTreeAsset m_VisualTreeAsset = default;
|
||||
|
||||
[MenuItem("Szafa/Oracle")]
|
||||
public static void ShowWindow() {
|
||||
OracleWindow wnd = GetWindow<OracleWindow>();
|
||||
wnd.titleContent = new GUIContent("OracleWindow");
|
||||
}
|
||||
|
||||
public void CreateGUI() {
|
||||
VisualElement root = rootVisualElement;
|
||||
|
||||
VisualElement labelFromUXML = m_VisualTreeAsset.Instantiate();
|
||||
root.Add(labelFromUXML);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user