com.typhoon.unitysdk 1.0.91 → 1.0.93
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +13 -1
- package/Editor/HistoryVersionWindow.cs +1 -1
- package/Editor/PublishSettingGUIDrawer.cs +2 -2
- package/Editor/PublishWindow.cs +5 -3
- package/Editor/VariablePresetWindow.cs +2 -2
- package/Editor/WxMiniConfig.cs +1 -1
- package/Sources~/Package/Douyin.unitypackage +0 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -158,7 +158,7 @@ namespace TyphoonUnitySDK
|
|
|
158
158
|
rectView.height -= 8;
|
|
159
159
|
rectView.center = center;
|
|
160
160
|
GUILayout.BeginArea(rectView);
|
|
161
|
-
_inputSearch =
|
|
161
|
+
_inputSearch = EditorGUILayout.TextField(_inputSearch);
|
|
162
162
|
var low = string.IsNullOrWhiteSpace(_inputSearch) ? null : _inputSearch.ToLower();
|
|
163
163
|
_scroll = GUILayout.BeginScrollView(_scroll);
|
|
164
164
|
|
|
@@ -462,7 +462,7 @@ namespace TyphoonUnitySDK
|
|
|
462
462
|
menu.ShowAsContext();
|
|
463
463
|
}
|
|
464
464
|
|
|
465
|
-
modify.VariableValue =
|
|
465
|
+
modify.VariableValue = EditorGUILayout.TextField(modify.VariableValue);
|
|
466
466
|
GUILayout.EndHorizontal();
|
|
467
467
|
}
|
|
468
468
|
|
|
@@ -580,7 +580,7 @@ namespace TyphoonUnitySDK
|
|
|
580
580
|
}
|
|
581
581
|
|
|
582
582
|
var tem = modify.VariableValue;
|
|
583
|
-
modify.VariableValue =
|
|
583
|
+
modify.VariableValue = EditorGUILayout.TextField(modify.VariableValue);
|
|
584
584
|
if (tem != modify.VariableValue)
|
|
585
585
|
{
|
|
586
586
|
VariablePreset.Default.Modify(modify.VariableName, modify.VariableValue);
|
package/Editor/PublishWindow.cs
CHANGED
|
@@ -192,7 +192,7 @@ namespace TyphoonUnitySDK
|
|
|
192
192
|
|
|
193
193
|
GUILayout.Space(1);
|
|
194
194
|
if (GUILayout.Button(new GUIContent(EditorIcons.icon_refresh, "刷新"), Styles.Square.Btn,
|
|
195
|
-
GUILayout.Width(
|
|
195
|
+
GUILayout.Width(32), GUILayout.Height(20)))
|
|
196
196
|
{
|
|
197
197
|
ReloadSettings();
|
|
198
198
|
Repaint();
|
|
@@ -214,8 +214,10 @@ namespace TyphoonUnitySDK
|
|
|
214
214
|
var rectSearch = rectLeftMenu;
|
|
215
215
|
rectSearch.y = rectToolbar.yMax;
|
|
216
216
|
rectSearch.height = 22;
|
|
217
|
-
|
|
218
|
-
|
|
217
|
+
var searchControl = $"{nameof(PublishWindow)}.InputTxtSearchSetting";
|
|
218
|
+
GUI.SetNextControlName(searchControl);
|
|
219
|
+
InputTxtSearchSetting = EditorGUI.TextField(rectSearch, InputTxtSearchSetting);
|
|
220
|
+
if (string.IsNullOrEmpty(InputTxtSearchSetting) && GUI.GetNameOfFocusedControl() != searchControl)
|
|
219
221
|
{
|
|
220
222
|
GUI.Label(rectSearch, "搜索...", Styles.ItalicLabel);
|
|
221
223
|
}
|
|
@@ -51,7 +51,7 @@ namespace TyphoonUnitySDK
|
|
|
51
51
|
toolbarArea.center = center;
|
|
52
52
|
GUILayout.BeginArea(toolbarArea);
|
|
53
53
|
GUILayout.BeginHorizontal();
|
|
54
|
-
_inputTxt =
|
|
54
|
+
_inputTxt = EditorGUILayout.TextField(_inputTxt);
|
|
55
55
|
GUI.SetNextControlName("input");
|
|
56
56
|
if (GUILayout.Button("+新建变量", GUILayout.Width(80)))
|
|
57
57
|
{
|
|
@@ -89,7 +89,7 @@ namespace TyphoonUnitySDK
|
|
|
89
89
|
menu.ShowAsContext();
|
|
90
90
|
}
|
|
91
91
|
|
|
92
|
-
item.VariableValue =
|
|
92
|
+
item.VariableValue = EditorGUILayout.TextField(item.VariableValue);
|
|
93
93
|
GUILayout.EndHorizontal();
|
|
94
94
|
}
|
|
95
95
|
|
package/Editor/WxMiniConfig.cs
CHANGED
|
@@ -94,7 +94,7 @@ namespace TyphoonUnitySDK
|
|
|
94
94
|
{
|
|
95
95
|
GUILayout.BeginHorizontal();
|
|
96
96
|
GUILayout.Label("发布目录", GUILayout.Width(146));
|
|
97
|
-
arg.DST =
|
|
97
|
+
arg.DST = EditorGUILayout.TextField(arg.DST);
|
|
98
98
|
if (GUILayout.Button("打开", GUILayout.Width(50)))
|
|
99
99
|
{
|
|
100
100
|
if (Directory.Exists(arg.DST))
|
|
Binary file
|
package/package.json
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"com.typhoon.unitysdk","displayName":"typhoon unity sdk","version":"1.0.
|
|
1
|
+
{"name":"com.typhoon.unitysdk","displayName":"typhoon unity sdk","version":"1.0.93","description":"","unity":"2018.1","type":"tool","hideInEditor":false,"author":{"name":"Jan Zhang","email":"","url":""},"changelogUrl":"","documentationUrl":"","keywords":["typhoon"],"license":"","licensesUrl":"","customDependencies":[{"PackageName":"com.unity.nuget.newtonsoft-json","Value":"2.0.0"}],"version_log":"## [1.0.93] - 2024-01-23\r\n\r\n### 修复\n* 抖音快捷发布GUIbug\r\n\r\n","major_flag":false,"write_time_stamp":1706020228000,"others":{"items":[]},"dependencies":{"com.unity.nuget.newtonsoft-json":"2.0.0"}}
|