Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/johannesdeml/recttransformanchorconstraint
This is a quick and dirty proof of concept to hook rect transform to one another
https://github.com/johannesdeml/recttransformanchorconstraint
ui unity
Last synced: 7 days ago
JSON representation
This is a quick and dirty proof of concept to hook rect transform to one another
- Host: GitHub
- URL: https://github.com/johannesdeml/recttransformanchorconstraint
- Owner: JohannesDeml
- License: mit
- Created: 2016-04-06T21:03:25.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-04-06T21:15:35.000Z (almost 9 years ago)
- Last Synced: 2024-12-15T04:42:27.242Z (2 months ago)
- Topics: ui, unity
- Language: C#
- Homepage:
- Size: 27.3 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# RectTransformAnchorConstraint
![Two rect transforms that are connected to the anchor points of a rect transform with a ratio fitter](http://i.imgur.com/n1ru90p.gif)
This is a quick and dirty proof of concept to hook rect transform to one another, because I saw no possibility in doing just that. With the script you can connect a rect anchor to the rect anchor of another object in the same parent.
![Rect listener is the rect that is connected to the rect reference, the anchor defines which anchor of the listener is altered](http://i.imgur.com/FZaXQYF.png)