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