Unity-AnimationUI icon indicating copy to clipboard operation
Unity-AnimationUI copied to clipboard

[Help] Size Delta vs Local Scale

Open PalaNolho opened this issue 1 year ago • 1 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

PalaNolho avatar May 04 '24 20:05 PalaNolho

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.

DhafinFawwaz avatar Jun 15 '24 05:06 DhafinFawwaz