public static void menuGame_UpdateRig() { var files = EditorHelper.GetUpdateRigList(); foreach (var obj in files) { AssetDatabase.SetLabels(obj, new string[] { "UpdateRig" }); } AssetDatabase.Refresh(); UnityEditorProjectBrowser.SetSearch("l:UpdateRig t:GameObject"); }