Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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

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)