Пример #1
0
 public void Setup()
 {
     m_VisibilityToolView = VisibilityToolWindow.CreateFromUXML();
     m_Window             = EditorWindow.GetWindow <TestWindow>();
     m_Window.GetRootVisualContainer().Add(m_VisibilityToolView);
 }
Пример #2
0
 public void Setup()
 {
     m_VisibilityToolView = VisibilityToolWindow.CreateFromUXML();
     m_Window             = EditorWindow.GetWindow <TestWindow>();
     m_Window.rootVisualElement.Add(m_VisibilityToolView);
 }