Particle effect / Atlas / Spritesheet
Hi eveyone,
I am currently struggling with a material I am applying to a particle system.
I want to have all of my textures in a single atlas. In the atlas I have a spritesheet of a smoke effect (red square). So I enable the texture sheet animation on my particle system. But I don't know which values to tweak it so I can only have my spritesheet playing
Appreciate any help ;)
Answer by ifurkend · Mar 10, 2019 at 01:19 AM
While you can use the curve of frame over time to order the sequence of the animated smoke (4-5-12-13-14-20-21-22) with constant keys (as opposed to linear or spline), this arrangement is prone to spillage to the neighboring grid and uneven speed of flipping.
What you should do is to rearrange the animated smoke frames on a single row, e.g. the 3rd row, then use “single row” animation and use the default linear frame over time ascending curve.
Thanks for the row advice ! Tried it and it works. But what if the spritesheet takes more than 1 ?
Then use the whole sheet animation and manually adjust each key value corresponding to the grid.
Your answer
![](https://koobas.hobune.stream/wayback/20220612193256im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
Any way to set Sprite.packingRotation for a sprite create at runtime 1 Answer
Particle System not showing up in game view, showing up in scene view 13 Answers
Particle system play stop work 0 Answers
Sprite Atlas UI Optimization Questions 0 Answers
Create particle onTriggerEnter for simulating a hit 0 Answers