Forum rules - please read before posting.

Animated Sprite in Menu

I have a menu created that displays sprites vertically in order to display achievements. Each sprite represents an in-game achievement.

I want the menu to change this sprite when the achievement is unlocked by using a variable.

I am unsure how to do this. I have made a sprite sheet contained both the activate and inactive achievement variable. Whenever I attach this sprite to my Achievement Label background texture it displays the entire sprite sheet.

Is there a way to get this working?

Thanks for the help, any would be very much appreciated,
Exile22

Comments

  • In Unity UI or AC's menu system?  AC's menu system relies on textures, not sprites, because it uses the old OnGUI code.  However, if you arrange all frames in one texture (grid based is fine), then you can click "Animate?" in the element properties box to input the frame arrangement.  (You'll need a Graphic element, rather than a Label one).
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Welcome to the official forum for Adventure Creator.