Quantcast
Channel: Unity Forum
Viewing all articles
Browse latest Browse all 1466670

[Solved] Rect VS Bounds - Differences and uses?

$
0
0
Hey everyone!

So I was just reworking some code to stop using unnecessary BoxCollider2Ds and I suddenly came to realize that I had no idea what the actual differences between Rect and Bounds are. I've tried finding some one-on-one comparisons, but came up empty. The scripting docs specifically mention that Bounds is always axis-aligned, but Rects themselves don't seem to have any kind of rotation member either. The two do work a little bit differently - Rect assumes a [FONT=Courier...

[url='http://forum.unity3d.com/threads/solved-rect-vs-bounds-differences-and-uses.268124/'][Solved] Rect VS Bounds - Differences and uses?[/url]

Viewing all articles
Browse latest Browse all 1466670

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>