- Home /
Button Not reseting.,Button for pause and resume
I am trying to implement an in game pause play button which allows the user to pause the game when clicked once and resume when re clicked. I have used the transition type on the button as "Sprite swap"
[1]: /storage/temp/162867-buttonquestion.png
When the button is clicked the game stops and the sprite changes to an image which says "resume" however when re clicked the game restarts but the sprite remains at the "Resume" image. How do i make it go back to the pause image sprite??
Answer by logicandchaos · Jul 06, 2020 at 08:43 PM
I usually do this with 2 buttons or just 2 images.
Your answer
![](https://koobas.hobune.stream/wayback/20220613002625im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
sprite animation not playings 0 Answers
sliced sprite taking part of one above it 1 Answer
Override sprite geometry of sprite generated at runtime 1 Answer
Which sprite atlas goes into an asset bundle? 0 Answers
Need help with sprite rotation 0 Answers