2D Toolkit Forum

2D Toolkit => Support => Topic started by: storm33229 on May 02, 2013, 02:57:42 pm

Title: Are there any issues with NGUI + 2D Toolkit together?
Post by: storm33229 on May 02, 2013, 02:57:42 pm
Before I start down this road, I want to make sure there aren't any issues, so... Are there any issues with NGUI + 2D Toolkit together? I am already accustomed to NGUI for... GUI... but I want to keep using 2D Toolkit for all of my non-GUI game elements. Will this be a problem?
Title: Re: Are there any issues with NGUI + 2D Toolkit together?
Post by: unikronsoftware on May 02, 2013, 03:00:36 pm
You can't mix sprites - i.e. use tk2dSprites in NGUI or vice-versa, but apart from that there shouldn't be any issues.
Title: Re: Are there any issues with NGUI + 2D Toolkit together?
Post by: storm33229 on May 02, 2013, 06:53:51 pm
Perfect. Thanks :)
Title: Re: Are there any issues with NGUI + 2D Toolkit together?
Post by: CoderBear on May 02, 2013, 11:09:41 pm
Just make sure the NGUI camera size matches the camera size for the toolkit  other wise there will be a lot of going back and for between the two.

eg.

if tk2dcamera size = 368 (1/2 736 useable screen pixels on a Nexus 7)
then camera(NGUI) size = 368

or

if camera(NGUI) size = 1(1/2 736 useable screen pixels on a Nexus 7)
then tk2dcamera  size = 1