# UILayer component
# Overview
The rendering function component is used to distinguish the rendering subtree and limit the traversal caused by the update of the rendering order.
# Instructions
# Code usage
The UILayer component has rendering capabilities, so it needs to be mounted on a non-rendering node.
const uiLayerComponent = entity.addComponent(engine.UILayer);
# Editor use
Right click-UI-New empty node-Add component-UILayer