导出代码更新
This commit is contained in:
@@ -42,6 +42,11 @@ public class UIComponentExportEditor : Editor
|
||||
.Distinct()
|
||||
.ToList();
|
||||
|
||||
if (prefab.GetComponent<UISelectList>() != null)
|
||||
{
|
||||
uguiComponentNames.Add("UISelectList");
|
||||
}
|
||||
|
||||
if (uguiComponentNames.Count == 0)
|
||||
{
|
||||
uguiComponentNames.Add("GameObject");
|
||||
|
||||
@@ -54,6 +54,11 @@ public class UIViewExportEditor : Editor
|
||||
.Distinct()
|
||||
.ToList();
|
||||
|
||||
if (prefab.GetComponent<UISelectList>() != null)
|
||||
{
|
||||
uguiComponentNames.Add("UISelectList");
|
||||
}
|
||||
|
||||
if (uguiComponentNames.Count == 0)
|
||||
{
|
||||
uguiComponentNames.Add("GameObject");
|
||||
|
||||
Reference in New Issue
Block a user