File tree Expand file tree Collapse file tree 1 file changed +13
-0
lines changed
GameFramework/Editor/AssetBundleEditor Expand file tree Collapse file tree 1 file changed +13
-0
lines changed Original file line number Diff line number Diff line change @@ -283,6 +283,7 @@ private void OnGUI()
283
283
GUILayout . EndHorizontal ( ) ;
284
284
GUILayout . BeginHorizontal ( "box" , GUILayout . Width ( Screen . width ) ) ; //GUILayout.Width(100)
285
285
GUILayout . Label ( "AssetBundleName" , GUILayout . Width ( 150 ) ) ;
286
+ GUILayout . Label ( "Annotation" , GUILayout . Width ( 100 ) ) ;
286
287
GUILayout . Label ( "Variant" , GUILayout . Width ( 100 ) ) ;
287
288
GUILayout . Label ( "Filter" , GUILayout . Width ( 100 ) ) ;
288
289
GUILayout . Label ( "SearchInFolders" , GUILayout . Width ( 300 ) ) ;
@@ -391,6 +392,18 @@ private void DrawJsonData(JsonData jsonData)
391
392
jsonData [ key ] = newContent ;
392
393
}
393
394
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
+
394
407
key = "Variant" ;
395
408
if ( ! jsonData . Keys . Contains ( key ) )
396
409
{
You can’t perform that action at this time.
0 commit comments