Skip to content
This repository was archived by the owner on Mar 24, 2022. It is now read-only.

Latest commit

Β 

History

History
37 lines (30 loc) Β· 852 Bytes

File metadata and controls

37 lines (30 loc) Β· 852 Bytes

Percentage Based UI

Percentage Based UI demo image

Description

This UI example is inspired by css, letting the developer create components with left/top and width/height values. Scales well with any screen imaginable.

Supported aspect ratios

  • 5:4 βœ…
  • 4:3 βœ…
  • 3:2 βœ…
  • 16:10 βœ…
  • 16:9 βœ…

Supported Platforms

  • Editor βœ…
  • Standalone βœ…
  • UWP βœ…

Mobile ❓

  • iOS ❓
  • Android ❓

Console

  • Xbox One βœ…
  • PS4 βœ…

Parameters

  • Scaled Component
    • Container - The container rect transform the component percentages are based off.
    • Component Position
      • Left - Left percentage from containers left side.
      • Top - Top percentage from containers top side.
    • Component Scale
      • Width - Width percentage of containers width.
      • Height - height percentage of containers height.