代码导出工具
This commit is contained in:
@@ -143,7 +143,7 @@ public class UIExportToolEditor : Editor
|
|||||||
sb.AppendLine(" /// ");
|
sb.AppendLine(" /// ");
|
||||||
sb.AppendLine(" /// </summary>");
|
sb.AppendLine(" /// </summary>");
|
||||||
|
|
||||||
sb.AppendLine($" public {element.FindPropertyRelative("selectedComponentName").stringValue} {element.FindPropertyRelative("key").stringValue}");
|
sb.AppendLine($" public {element.FindPropertyRelative("selectedComponentName").stringValue} {element.FindPropertyRelative("key").stringValue};");
|
||||||
}
|
}
|
||||||
sb.AppendLine(" public override void PreLoad(GameObject view)");
|
sb.AppendLine(" public override void PreLoad(GameObject view)");
|
||||||
sb.AppendLine(" {");
|
sb.AppendLine(" {");
|
||||||
|
|||||||
@@ -1,6 +1,3 @@
|
|||||||
using System.Collections;
|
|
||||||
using System.Collections.Generic;
|
|
||||||
using CreatGame.UI;
|
|
||||||
using UnityEngine;
|
using UnityEngine;
|
||||||
using UnityEngine.UI;
|
using UnityEngine.UI;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user