com.iron-mountain.layout-groups

1.1.2 • Public • Published

Layout Groups

Version: 1.1.2

Description:

Utility scripts for making responsive layout groups.

Use Cases:

  • Dynamically resizing items in a grid layout to fit the size of their area.
  • Dynamically resizing items in a grid layout to keep an aspect ratio and expand with row or column constraints.
  • Dynamic padding and spacing as a function of screen size.

Package Mirrors:

Key Scripts & Components:

  1. public struct PaddingFlags
  2. public class ResponsiveGridLayoutCellSizeExpand : MonoBehaviour
  3. public class ResponsiveGridLayoutCellSizeFit : MonoBehaviour
  4. public class ResponsiveGridLayoutSpacing : MonoBehaviour
  5. public class ResponsiveHorizontalLayoutSpacing : MonoBehaviour
  6. public class ResponsiveRectTransform : MonoBehaviour
    • Properties:
      • public Boolean SetWidth { get; set; }
      • public Boolean SetHeight { get; set; }
      • public float ScreenWidthPercent { get; set; }
      • public float ScreenHeightPercent { get; set; }
  7. public class ResponsiveVerticalLayoutSpacing : MonoBehaviour

Readme

Keywords

Package Sidebar

Install

npm i com.iron-mountain.layout-groups

Weekly Downloads

58

Version

1.1.2

License

MIT

Unpacked Size

32.9 kB

Total Files

28

Last publish

Collaborators

  • ludachrismonte