Version: 2020.3
Language : English
Flare Layer component
Lines, trails, and billboards

Halo component

Halos are glowing areas around light sources. Use them to give the impression of small dust particles in the air, and add atmosphere to your sceneA Scene contains the environments and menus of your game. Think of each unique Scene file as a unique level. In each Scene, you place your environments, obstacles, and decorations, essentially designing and building your game in pieces. More info
See in Glossary
.

A Light with a separate Halo Component
A Light with a separate Halo Component

Note: This workflow is compatible only with the Built-in Render Pipelne. For similar functionality in other render pipelines, see Lens flares and halos.

Using Halo components

Add a Halo component to a GameObjectThe fundamental object in Unity scenes, which can represent characters, props, scenery, cameras, waypoints, and more. A GameObject’s functionality is defined by the Components attached to it. More info
See in Glossary
with a Light component. Then set its size and color properties to give the desired glowing effect.

Note: A Light can also display a halo without a separate Halo component by enabling its Draw Halo property, but you cannot configure its size and color.

To see Halos in the scene view, check Fx button in the Scene ViewAn interactive view into the world you are creating. You use the Scene View to select and position scenery, characters, cameras, lights, and all other types of Game Object. More info
See in Glossary
ToolbarA row of buttons and basic controls at the top of the Unity Editor that allows you to interact with the Editor in various ways (e.g. scaling, translation). More info
See in Glossary
.

To override the shaderA program that runs on the GPU. More info
See in Glossary
used for Halos, open the Graphics window and set Light Halo to the shader that you would like to use as the override.

Halo component refence

Property: Function:
Color Color of the Halo.
Size Size of the Halo.
Flare Layer component
Lines, trails, and billboards
Copyright © 2023 Unity Technologies
优美缔软件(上海)有限公司 版权所有
"Unity"、Unity 徽标及其他 Unity 商标是 Unity Technologies 或其附属机构在美国及其他地区的商标或注册商标。其他名称或品牌是其各自所有者的商标。
公安部备案号:
31010902002961