Question by
besmartsoftwaredevelopment · Mar 24, 2018 at 06:56 PM ·
scripting problemspritescripting beginner
script to swap between images using buttons(next button and previous button)
Hi, i'm new to unity. i wanna swap between images using two buttons, i have about 100 images. any help will be appreciated. so far i could change sprite image using a click but i want a script that can go through next image and previous image if possible.
thanks in advance
Comment
Your answer
![](https://koobas.hobune.stream/wayback/20220612155308im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
assigning sprites to game object via script 0 Answers
OnTriggerEnter2D problem 1 Answer
Errors With Game Over Script 1 Answer
C# Unity dot syntax exercise correct solution? 1 Answer
how do i keep an item destroyed when i change the scene c# 0 Answers