Namespace Unity.Tiny.UILayout
Classes
SetRectTransformSizeSystem
SetRectTransformSizeSystem automatically updates the size of a RectTransformFinalSize component attached to the same entity as a RectTransform component. Required when adding a RectTransform component to the same entity as a Text2DRenderer component.
SetSprite2DSizeSystem
SetSprite2DSizeSystem works on entities that have Transform, RectTransform, Sprite2DRenderer, and Sprite2DRendererOptions components. It automatically updates the Sprite2DRendererOptions.size property based on the size of the RectTransform.
UICanvasSystem
Sets the desired scale for entities with the UICanvas component. The scale value is calculated based on the UICanvas.uiScaleMode field.
UILayoutService
UILayoutSystem
Lays out elements with both a RectTransform and Transform component by setting their Transform.localPosition. The local position depends on the RectTransform component.
Structs
RectTransform
Defines the position, size, anchor and pivot information for a rectangle.
UICanvas
Root component for UI elements (entities with RectTransform and Transform components).
Enums
UIScaleMode
Determines how UI elements in the Canvas are scaled.