You can render you Sprite Atlas with the button Pack Preview. Then you can add the sprite you want to pack in the Inspector: To create a Sprite Atlas you can do it in less than 1 minutes : If you want to reduce the number of draws calls but you have multiple sprites in your games, you can generate a sprite sheet with unity, those are call Sprite Atlas. In the resource folder you see the sprites :Įverything is done you can use the sprites in your game! Reduce the number of draws calls: Sprite Atlas If the sprite sheet has been sliced correctly you can click on Apply to confirm the cghange or Revert.Īfter the slicing is done you should have : You can slice the sprites, normally you do not need to tchange the default options : Then make sure the Sprite mode is set to Multiple : If you need a spritesheet you can test with this one : sonic-sprite-sheet.png Importing sprite sheet with Unity is simple, just drag and drop the sprite sheets in the resource folder. I want to reduce de number of draws calls, should I use a spritesheet with Unity?.I already have a sprite sheets generated, how do I import the sprite sheet in Unity?.There are multiple case in Unity where you want to use sprite sheets.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |