Struct RectTransformFinalSize
Add this compoment next to a RectTransform component and a Text2DRenderer (for now) while adding a text in a rect transform
Namespace: Unity.Tiny
Syntax
public struct RectTransformFinalSize : ISystemStateComponentData
Fields
size
Rect transform size of an entity. This value is updated by the SetRectTransformSizeSystem system
Declaration
public float2 size
Field Value
Type | Description |
---|---|
float2 |