导出代码更新

This commit is contained in:
2025-07-25 00:14:42 +08:00
parent 5580b43743
commit bb82e65ac6
5 changed files with 15 additions and 32 deletions

View File

@@ -13,4 +13,17 @@ public class UIViewExport : MonoBehaviour
}
public List<UIEntry> entries = new List<UIEntry>();
public GameObject GetGameObject(string name)
{
for (int i = 0; i < entries.Count; i++)
{
if (entries[i].key == name)
{
return entries[i].prefab;
}
}
return null;
}
}