2D Toolkit Forum

2D Toolkit => Support => Topic started by: Trigve on April 17, 2014, 09:58:58 am

Title: Per sprite pixels to unit
Post by: Trigve on April 17, 2014, 09:58:58 am
Hi,
I'm evaluating the 2D toolkit (through documentation) and was curious how to setup the pixels to unit ration per sprite (as it is done in unity). That is I want to have some sprites to have some defined pixels to unit ratio and some other sprites to have some other pixels to unit ratio. I've found that on camera one can set pixels per meter but it looks like it is the global (and I want the per sprite; and not for meter but for units). It looks like the Sprite has the custom scale option which could work but I'm not sure.

It is possible to set pixels to unit per sprite basis?

Thank you

Trigve
Title: Re: Per sprite pixels to unit
Post by: unikronsoftware on April 18, 2014, 05:03:34 am
Hi the pixels per unit is set up per sprite collection, but there is a scale setting per sprite (in the sprite collection editor) which will let you modify that per sprite in the collection should you need to do that.