How to make a filled rectangle with changeable sizes and boxCollider2d

I need to make a rectangle with changeable height filled with white color. I should be able to change its height with keyboard controls and also rotate it. Plus, while I do this, the boxCollider component should change its size with it. How to achieve this? Also it would be better if the rectangle is antialiased.

1 Answer

1

Hi, Answers are for specific technical questions. You could try out the forums instead.