Signed-off-by: TRADER_FOER <lhf190@outlook.com>
This commit is contained in:
2026-05-02 23:51:27 +08:00
parent 648269d509
commit d6262d8722
4 changed files with 11174 additions and 12332 deletions

View File

@@ -94,7 +94,7 @@ namespace Ichni.Editor
var item = LeanPool.Spawn(searchResultItemPrefab, searchResultsRoot);
var itemText = item.GetComponentInChildren<TMP_Text>();
if (itemText != null)
itemText.text = element.elementName + " | " + element.GetType().ToString();
itemText.text = element.elementName + " | " + element.GetType().ToString().Split(".")[^1];
var button = item.GetComponentInChildren<Button>();
if (button != null)