Options
All
  • Public
  • Public/Protected
  • All
Menu

Utility class that facilitates common layouting operations.

Hierarchy

  • UILayoutService

Index

Methods

Static computeRectTransformSize

  • Calculates the dimensions of a RectTransform component using the supplied values.

    Parameters

    Returns Vector2

Static getRectTransformSizeOfEntity

  • Gets the dimensions of a RectTransform component. This method assumes that entity has both a Transform component and a RectTransform component.

    Parameters

    Returns Vector2

Static getRectTransformSizeOfParent

  • Returns the size of the childTransform's parent. If the childTransform doesn't have a parent, returns the screen size.

    Parameters

    Returns Vector2

Generated using TypeDoc