Quantcast
Channel: Cocos Forums - Latest topics
Viewing all articles
Browse latest Browse all 17078

Disable scaling for Sprite when it initialised with texture2d

$
0
0

@Igor wrote:

I created texture with size 80x80 pixels. Than initialised Sprite with that texture. But when I add sprite as child to scene, I have 55px Sprite size ( the content scale factor is 1.5 ).

How can I disable scaling for Sprite?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 17078


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