UGUI导出工具
This commit is contained in:
16
UnityGame/Assets/Scripts/GameTools/UI/UIExportTool.cs
Normal file
16
UnityGame/Assets/Scripts/GameTools/UI/UIExportTool.cs
Normal file
@@ -0,0 +1,16 @@
|
||||
using System;
|
||||
using UnityEngine;
|
||||
using System.Collections.Generic;
|
||||
|
||||
public class UIExportTool : MonoBehaviour
|
||||
{
|
||||
[Serializable]
|
||||
public class UIEntry
|
||||
{
|
||||
public string key;
|
||||
public GameObject prefab;
|
||||
public string selectedComponentName; // 存储选择的组件类型名
|
||||
}
|
||||
|
||||
public List<UIEntry> entries = new List<UIEntry>();
|
||||
}
|
||||
11
UnityGame/Assets/Scripts/GameTools/UI/UIExportTool.cs.meta
Normal file
11
UnityGame/Assets/Scripts/GameTools/UI/UIExportTool.cs.meta
Normal file
@@ -0,0 +1,11 @@
|
||||
fileFormatVersion: 2
|
||||
guid: d7f07a01cdb5c7c4aa72a3a420035842
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
Reference in New Issue
Block a user