Version: Unity 6.2 (6000.2)
Language : English
Use arrays
Select colors and color gradients

Use bar sliders

A bar slider lets you allocate sections of a whole. For example, the level of detail (LOD) Group component uses a bar slider to define transitions between the levels. All levels together make up 100%.

To change allocations, drag the divider between two sections left or right. This changes both sections at the same time, but doesn’t change any other section.

Each section in a bar slider shows how far into the whole it reaches, indicated as a percentage. That percentage is the end point for the section, not the total allocation of that section. The last section is always 100%.

The LOD Group bar, showing the percentage at the point where the divider last stopped.
The LOD Group bar, showing the percentage at the point where the divider last stopped.

Additional resources

Use arrays
Select colors and color gradients
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961