Unity logo
Cancel
Cart
Applications
Sell Assets

Over 11,000 five-star assets

Rated by 85,000+ customers

Supported by 100,000+ forum members

Every asset moderated by Unity

Home
Tools
GUI
This content is hosted by a third party provider that does not allow video views without acceptance of Targeting Cookies. Please set your cookie preferences for Targeting Cookies to yes if you wish to view videos from these providers.
1/6
'Easy Screen Align' does what it's title suggests. It's a simple script for aligning elements to the screen. The asset is twofold, containing a script for detecting if the screen has resized and another for aligning an element to the screen. It's incredibly configurable and versatile, allowing you to set the anchor point for both the screen and the object.

The align script can trigger on screen resize, camera move or all the time.
It works with 2D UI elements, Sprites, 3D meshes, orthographic and perspective cameras (plus much more!).

Features:
-You can align both 2D and 3D objects to the screen.
-All variables have been set to public, to allow you to set them via your own scripts.
-Set the anchor point of your element, relative to how it's rendered on screen. So you can, for example, align the top-right of your element to the top-right of the screen.
-The detect resize script has been optimised via couroutines and made available to be used in your own scripts.
-Options that allow you to lerp the alignment of your element, for smoother motion.
-Trigger on camera motion, screen resize or all the time.
-Force the element to look at the camera or the screen normal ("face" the screen).
-Use this script and save yourself time!

Possible uses: -Ensure a 2D UI stays aligned to the screen at all times.
-A "pick up object" effect for FPS games.
-Using the DetectResize script to optimize your own custom scripts.
-Lerp the motion, allowing the UI to shake along with the camera when using a screen shake effect.
-Have an object always face the camera or screen normal.
-Use as a base for your own screen align scripts (or ones that require similar functionality).
-Use the detect resize script to enhance your own scripts.
-Align instructions or hints to a camera in a VR game.

Package Contains:
-Align element script
-Detect resize script
-Documentation
-Example prefabs
-Example scenes


If you have any issues or improvements for us, please let us know via our websites contact page - http://eageramoeba.co.uk/Contact/


------------------------------

Visit our website for more info - eageramoeba.co.uk/EasyScreenAlign

Check our our Auto Quality solution (AQHAT) for Unity 4.5+ - http://u3d.as/CdY

Follow us on social networks for updates regarding this and future products - @EagerAmoeba

Easy Screen Align

(15)
414 users have favourite this asset
(414)
FREE
License type
File size
285.1 KB
Latest version
1.0
Latest release date
Jul 17, 2017
Original Unity version
4.0.0
Support
Visit site
Quality assets
Over 11,000 five-star assets
Trusted
Rated by 85,000+ customers
Community support
Supported by 100,000+ forum members
Unity logo
Language
Feedback
Partners Program
Partners
USD
EUR
Copyright © 2025 Unity Technologies
All prices are exclusive of tax
USD
EUR