It is a stupid question, but I can’t get any help from the doc of the v4.3.
I have an atlas with 128x8 sprites.
I can slice them with the new sprite import features.
Now I just want to display them (1,2,3,4,5 and loop).
I just can’t find how to tell the sprite renderer which index in the atlas it has to display.
Anyone got this problem and solved it? (I use JS)
Note
spriteRenderer.sprite=spritelist[currentsprite];
is not working while
lineRenderer would support this syntax.