修改编辑器
This commit is contained in:
parent
1ba8c9a1c8
commit
999f9beaf8
@ -61,7 +61,7 @@ internal sealed class InputGlyphDatabaseWindow : EditorWindow
|
|||||||
|
|
||||||
internal static void OpenFromAsset(InputGlyphDatabase database)
|
internal static void OpenFromAsset(InputGlyphDatabase database)
|
||||||
{
|
{
|
||||||
InputGlyphDatabaseWindow window = GetWindow<InputGlyphDatabaseWindow>(true, "Input Glyph Database", true);
|
InputGlyphDatabaseWindow window = GetWindow<InputGlyphDatabaseWindow>("Input Glyph Database", true);
|
||||||
window.SetDatabase(database);
|
window.SetDatabase(database);
|
||||||
window.minSize = new Vector2(940f, 560f);
|
window.minSize = new Vector2(940f, 560f);
|
||||||
window.Show();
|
window.Show();
|
||||||
@ -165,6 +165,7 @@ internal sealed class InputGlyphDatabaseWindow : EditorWindow
|
|||||||
SerializedProperty table = _tablesProperty.GetArrayElementAtIndex(i);
|
SerializedProperty table = _tablesProperty.GetArrayElementAtIndex(i);
|
||||||
DrawTableButton(i, table);
|
DrawTableButton(i, table);
|
||||||
}
|
}
|
||||||
|
|
||||||
EditorGUILayout.EndScrollView();
|
EditorGUILayout.EndScrollView();
|
||||||
|
|
||||||
GUILayout.Space(6f);
|
GUILayout.Space(6f);
|
||||||
@ -224,6 +225,7 @@ internal sealed class InputGlyphDatabaseWindow : EditorWindow
|
|||||||
{
|
{
|
||||||
DrawTable(_selectedTable);
|
DrawTable(_selectedTable);
|
||||||
}
|
}
|
||||||
|
|
||||||
GUILayout.EndArea();
|
GUILayout.EndArea();
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -274,6 +276,7 @@ internal sealed class InputGlyphDatabaseWindow : EditorWindow
|
|||||||
|
|
||||||
DrawEntry(entriesProperty, i, entry);
|
DrawEntry(entriesProperty, i, entry);
|
||||||
}
|
}
|
||||||
|
|
||||||
EditorGUILayout.EndScrollView();
|
EditorGUILayout.EndScrollView();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user