You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The text was updated successfully, but these errors were encountered:
Tymski
changed the title
UISizeBy doesn't work. Use SetSizeWithCurrentAnchors instead of size delta.
BUG: UISizeBy doesn't work. Use SetSizeWithCurrentAnchors instead of size delta.
Dec 1, 2020
You set size delta instead of using the SetSizeWithCurrentAnchors method.
This doesn't work on the majority of anchor settings.
Any stretching on anchor settings will break your code in half.
https://docs.unity3d.com/ScriptReference/RectTransform.SetSizeWithCurrentAnchors.html
The text was updated successfully, but these errors were encountered: