Template that gives you a single lightweight function with a few easily controlled variables in the instances that allow you to pin any UI elements to the viewport with consistent look on devices of all aspect ratios and sizes.
FEATURES
- Fully Commented Template for C3 & C2
- Perfect Example within Template (C3)
- Easily Copied & Pasted into any Project
- Toggle Pin for UI elements
- Control Scaling of Horizontal & Vertical Position
- Add/Subtract extra X & Y
- Comes Ready to Support UI Elements for Objects like - Sprite, 9 Patch, Tiled Background, Text, Sprite Font and Particles, but can be used for anything really
Function can even be used constantly as it has near non-existent impact on CPU (0.2%-0.3%). In normal cases though you would call it only when changing resolution, position of existing UI and when creating new UI instances.
If there's some features you want then please reach out by email or social pages
Connect with Empyreans