switch between 5 Ui icons by pressing a button
hey guys i know that its a stupid quetion but im really stuck i have a character 2d and 5 weapons (pistol,granade,c4,) and i made 5 icon for them and i made a panel as parent so when i get a weapon automaticly his icon displayed in the panel ans so on and i made a paus button so wehn i presse keycode (M) the panel displayed (gameobject.setActive(True)) the problem that i have is that when i press M and the panel display i want to switch between the Icons of the WEAPON THAT I GOT!! so each time i press a button the green sprite move to the position of each Icon (SEE IMAGES)
Your answer
Follow this Question
Related Questions
Display list as UI or GUI 0 Answers
Drop object to exact place 1 Answer
How to make this shop animation and unlock system? 0 Answers
Why is drag and drop not working? 1 Answer