v21’s avatarv21’s Twitter Archive—№ 39,374

  1. #unity3d When i add a RectTransform to a GO containing a SpriteRenderer in editor, it magically sets the size. How can I do this via script?
    1. …in reply to @v21
      I think I figured it out!