迁移剩下的 UI 到 Serialization 方式
This commit is contained in:
@@ -107,7 +107,15 @@ namespace SepCore.Editor
|
||||
|
||||
if (nestedRoot != null)
|
||||
{
|
||||
EditorGUILayout.LabelField("Form Class", UIAssetsTools.GetFormClassName(nestedRoot));
|
||||
UGuiForm nestedForm = UIAssetsTools.FindNestedForm(nestedRoot, out string nestedFormError);
|
||||
if (nestedForm != null)
|
||||
{
|
||||
EditorGUILayout.LabelField("Form Class", nestedForm.GetType().FullName);
|
||||
}
|
||||
else
|
||||
{
|
||||
EditorGUILayout.HelpBox(nestedFormError, MessageType.Error);
|
||||
}
|
||||
}
|
||||
|
||||
if (generate.boolValue)
|
||||
|
||||
Reference in New Issue
Block a user