Unity-Technologies / 2d-extras

Fun 2D Stuff that we'd like to share!
Other
1.56k stars 344 forks source link

-Account for Anchor when using GetObjectsInCell in PrefabBrush and GameObjectBrush #248

Closed ChuanXin-Unity closed 4 years ago

ChuanXin-Unity commented 4 years ago

Take into account the Anchor when using GetObjectsInCell as Anchor can span over a cell.

BoonKiangTan commented 4 years ago

Issue: https://github.com/Unity-Technologies/2d-extras/issues/242

Fix verified on branch:

Version: 2021.1.0a7.1331 Revision: trunk fdd63b12dbc0 Built: Wed, 18 Nov 2020 01:50:04 GMT Branch: prefabbrushanchor (c16b218)