导出代码更新
This commit is contained in:
@@ -40,7 +40,12 @@ public class UIComponentExportEditor : Editor
|
|||||||
.Where(c => c != null && UIViewExportEditor.IsUGUIComponent(c))
|
.Where(c => c != null && UIViewExportEditor.IsUGUIComponent(c))
|
||||||
.Select(c => c.GetType().Name)
|
.Select(c => c.GetType().Name)
|
||||||
.Distinct()
|
.Distinct()
|
||||||
.ToList();
|
.ToList();
|
||||||
|
|
||||||
|
if (prefab.GetComponent<UISelectList>() != null)
|
||||||
|
{
|
||||||
|
uguiComponentNames.Add("UISelectList");
|
||||||
|
}
|
||||||
|
|
||||||
if (uguiComponentNames.Count == 0)
|
if (uguiComponentNames.Count == 0)
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -53,6 +53,11 @@ public class UIViewExportEditor : Editor
|
|||||||
.Select(c => c.GetType().Name)
|
.Select(c => c.GetType().Name)
|
||||||
.Distinct()
|
.Distinct()
|
||||||
.ToList();
|
.ToList();
|
||||||
|
|
||||||
|
if (prefab.GetComponent<UISelectList>() != null)
|
||||||
|
{
|
||||||
|
uguiComponentNames.Add("UISelectList");
|
||||||
|
}
|
||||||
|
|
||||||
if (uguiComponentNames.Count == 0)
|
if (uguiComponentNames.Count == 0)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user