Tasharen Entertainment Forum
Support => NGUI 3 Support => Topic started by: ProjectOne on February 04, 2013, 12:10:01 PM
-
Hi,
Using NGUI first time on a project... question if you don't mind
using colliders on NGUi Sprites for pickups-sprites and for NGUI sprites that give you score when touching them... Should I use a normal Unity Box collider or use the Attach Collider from NGUI menu.
Not sure what the difference is supposed to be between the Unity Box Collider and the NGUI colliders... I thought the NGUI collider was specifically for use with Touch/Mobile interaction?
-
If it's a sprite, better use NGUITools.AddWidgetCollider(), both at runtime and in the editor. This will fit the collider to the size of the sprite :)
Regards
-
ok thanks