|
@@ -57,6 +57,7 @@ public class CheckHotUpdateRes : EditorWindow
|
|
|
string path = "Assets/Editor/AssetBundle/CheckHotResWindownInfo.asset";
|
|
string path = "Assets/Editor/AssetBundle/CheckHotResWindownInfo.asset";
|
|
|
//Debug.Log();
|
|
//Debug.Log();
|
|
|
info = AssetDatabase.LoadAssetAtPath<CheckResWindowInfo>(path);
|
|
info = AssetDatabase.LoadAssetAtPath<CheckResWindowInfo>(path);
|
|
|
|
|
+ info.InitTags();
|
|
|
curResInfo = info.GetResInfo();
|
|
curResInfo = info.GetResInfo();
|
|
|
if (curResInfo == null)
|
|
if (curResInfo == null)
|
|
|
{
|
|
{
|
|
@@ -117,10 +118,10 @@ public class CheckHotUpdateRes : EditorWindow
|
|
|
GUILayout.Box("", GUILayout.Width(790));
|
|
GUILayout.Box("", GUILayout.Width(790));
|
|
|
GUILayout.BeginHorizontal();
|
|
GUILayout.BeginHorizontal();
|
|
|
GUILayout.Label("平台", GUILayout.Width(65));
|
|
GUILayout.Label("平台", GUILayout.Width(65));
|
|
|
- BuildTag tag = (BuildTag)EditorGUILayout.EnumPopup(info.buildTag, GUILayout.Width(100));
|
|
|
|
|
- if (tag != info.buildTag)
|
|
|
|
|
|
|
+ int TagIndex = EditorGUILayout.Popup(info.buildTag, info.Tags, GUILayout.Width(100));
|
|
|
|
|
+ if (TagIndex != info.buildTag)
|
|
|
{
|
|
{
|
|
|
- info.buildTag = tag;
|
|
|
|
|
|
|
+ info.buildTag = TagIndex;
|
|
|
ResInfo ri = info.GetResInfo();
|
|
ResInfo ri = info.GetResInfo();
|
|
|
if (ri != null)
|
|
if (ri != null)
|
|
|
{
|
|
{
|