Class BuildingBlockItemAttribute
Attribute used to register a class as a Building Block Section or a Building Block.
Using this attribute directly on a Building Block will register the class in the manager as an unsectioned
Building Block.
Unsectioned building blocks which will display blocks outside sections in the interface. This is not recommended since
it makes it prone to confusion with other packages.
The target class must derive from either IBuilding
Implements
Inherited Members
Namespace: Unity.XR.CoreUtils .Editor.BuildingBlocks
Assembly: Unity.XR.CoreUtils.Editor.dll
Syntax
[AttributeUsage(AttributeTargets.Class)]
public class BuildingBlockItemAttribute : Attribute, _Attribute
Fields
Priority
The priority of this item used to order elements in the overlay. Unsectioned Building Blocks will be ordered and displayed together first, then all the Building Block Sections will follow and be ordered between them.
Declaration
public int Priority
Field Value
Type | Description |
---|---|
int |