Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Jul 11, 2023. It is now read-only.

Commit 6ea3f26

Browse files
author
wanderer
committed
增加Editor的一些解释说明
1 parent 363ca8b commit 6ea3f26

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

‎GameFramework/Editor/AssetBundleEditor/AssetBundleEditor.cs‎

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -283,6 +283,7 @@ private void OnGUI()
283283
GUILayout.EndHorizontal();
284284
GUILayout.BeginHorizontal("box",GUILayout.Width(Screen.width));//GUILayout.Width(100)
285285
GUILayout.Label("AssetBundleName", GUILayout.Width(150));
286+
GUILayout.Label("Annotation", GUILayout.Width(100));
286287
GUILayout.Label("Variant", GUILayout.Width(100));
287288
GUILayout.Label("Filter", GUILayout.Width(100));
288289
GUILayout.Label("SearchInFolders",GUILayout.Width(300));
@@ -391,6 +392,18 @@ private void DrawJsonData(JsonData jsonData)
391392
jsonData[key] = newContent;
392393
}
393394

395+
key = "Annotation";
396+
if (!jsonData.Keys.Contains(key))
397+
{
398+
jsonData[key] = "";
399+
}
400+
content = jsonData[key].ToString();
401+
newContent = EditorGUILayout.TextField(content, GUILayout.Width(100));
402+
if (!content.Equals(newContent))
403+
{
404+
jsonData[key] = newContent;
405+
}
406+
394407
key = "Variant";
395408
if (!jsonData.Keys.Contains(key))
396409
{

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /