导出代码更新
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user