Namespace Unity.Tiny.UILayout | Package Manager UI website
docs.unity3d.com
    Show / Hide Table of Contents

    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.

    Back to top
    Copyright © 2023 Unity Technologies — Terms of use
    • Legal
    • Privacy Policy
    • Cookies
    • Do Not Sell or Share My Personal Information
    • Your Privacy Choices (Cookie Settings)
    "Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
    Generated by DocFX on 18 October 2023