文档

Unity Engine

Unity Engine

ToolbarSpacer

A toolbar spacer of static size. For more information, refer to UXML element ToolbarSpacer.
阅读时间6 分钟最后更新于 1 个月前

Definition

[Icon("UIToolkit/Icons/ToolbarSpacer.png")]public class ToolbarSpacer : VisualElement, IEventHandler, IResolvedStyle, ITransform, ITransitionAnimations, IExperimentalFeatures, IVisualElementScheduler

Static Fields

Value

Description

flexibleSpacerVariantUssClassNameUSS class name of elements of this type, when they are of flexible size.
ussClassNameUSS class name of elements of this type.

Constructors

Constructor

Description

ToolbarSpacer()Constructor.

Properties

Property

Description

flexReturn true if the spacer stretches or shrinks to occupy available space.

Inheritance

Inherited Members