99using UnityEngine . UIElements ;
1010
1111
12- namespace SatorImaging . UnitySourceGenerator
12+ namespace SatorImaging . UnitySourceGenerator . Editor
1313{
1414 public class ProjectSettingsPanel : SettingsProvider
1515 {
@@ -32,7 +32,7 @@ public ProjectSettingsPanel(string path, SettingsScope scopes, IEnumerable<strin
3232
3333
3434 Vector2 _scroll ;
35- Editor _cachedEditor ;
35+ UnityEditor . Editor _cachedEditor ;
3636
3737 public override void OnActivate ( string searchContext , VisualElement rootElement )
3838 {
@@ -64,7 +64,7 @@ static void ShowWindow()
6464 public class USGWindow : EditorWindow
6565 {
6666 Vector2 _scroll ;
67- Editor _cachedEditor ;
67+ UnityEditor . Editor _cachedEditor ;
6868
6969 void OnEnable ( )
7070 {
@@ -111,7 +111,7 @@ void OnGUI()
111111
112112 // NOTE: class is reference type and reference type variable is "passed by value".
113113 // to take reference to newly created object, need `ref` chain.
114- static void Wakeup ( ref Editor cachedEditor )
114+ static void Wakeup ( ref UnityEditor . Editor cachedEditor )
115115 {
116116 gui_emittersBtn ??= new ( EditorGUIUtility . IconContent ( "d_icon dropdown" ) ) ;
117117 gui_deleteBtn ??= new ( EditorGUIUtility . IconContent ( "d_TreeEditor.Trash" ) ) ;
@@ -166,12 +166,12 @@ static void Wakeup(ref Editor cachedEditor)
166166 static x => x ,
167167 static x => USGUtility . GetAssetPathByType ( x ) ?? throw new Exception ( ) ) ;
168168
169- Editor . CreateCachedEditor ( _settings , null , ref cachedEditor ) ;
169+ UnityEditor . Editor . CreateCachedEditor ( _settings , null , ref cachedEditor ) ;
170170 }
171171
172172
173173 static bool _debugFoldout ;
174- static void DrawEditor ( Editor cachedEditor , ref Vector2 currentScroll )
174+ static void DrawEditor ( UnityEditor . Editor cachedEditor , ref Vector2 currentScroll )
175175 {
176176 var restoreLabelWidth = EditorGUIUtility . labelWidth ;
177177 EditorGUIUtility . labelWidth = EditorGUIUtility . currentViewWidth * 0.2f ;
0 commit comments