DhafinFawwaz / Unity-AnimationUI

Usefull Unity tool for animating UI with just drag and drop

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Help] Size Delta vs Local Scale

PalaNolho opened this issue · comments

Hi, this is not a bug, just a clarification request.

In the Animation-> Rect Transform -> Size Delta, how does that work exactly?
how does it differ from Local Scale?

Many thank in advance

Same as how Unity works.
Size Delta:
https://docs.unity3d.com/ScriptReference/RectTransform-sizeDelta.html
This is usefull for when you want to adjust an image width or height. You can take advantage of the anchor.

Local Scale:
https://docs.unity3d.com/ScriptReference/Transform-localScale.html
Usefull when you want to multiply what's already affected by size delta. Its as simple as scaling the whole thing.