Layout Switcher

Allow to create different layouts with same GameObjects for different screen sizes and aspect ratios. Used when anchros, pivots and layout group not enough to create layout with different aspect ratios support.

Save values of the position, size, anchors, pivot, rotation, scale, active/disable state for each layout.

Options

  • Objects: list of the controlled objects.

  • Default Display Size (inches): display size to use when actual display size cannot be detected.

  • Layouts: list of the layouts.

    • Name: layout name.

    • Aspect Ratio: aspect ratio for this layout.

    • Max Display Size (inches): maximum size of the display for this layout (layout will not be used if display size more than specified).