Unity Engine documentationScript ReferenceUnityEditorUnityEditor.UIElementsToolbarMenuToolbarMenu.VariantDisplay styles for the menu.阅读时间1 分钟最后更新于 1 个月前Definition Type: Enum Namespace: UnityEditor.UIElements Assembly: UnityEditor public enum ToolbarMenu.Variant Fields ValueDescriptionDefaultDisplay the menu using the default style.PopupDisplay the menu using the popup style.