Question by
Tubestorm · Nov 19, 2021 at 09:34 AM ·
gameobjectbuttonbutton trigger eventspersistence
Matching Button ID to information displayed on GameObject
Hello, I'm trying to match a prefab (of Text and Sprite) to the button that is clicked on. In my code each button has an ID, that needs to be sent to the Profile page, this will let the profile page display the correct information. Unfortunately my code isn't working.
Do you have any resources that could help with this task?
Thanks!
Buttons
Specific profile
screen-shot-2021-11-19-at-42805-am.png
(21.3 kB)
screen-shot-2021-11-19-at-42837-am.png
(40.6 kB)
Comment
Your answer
Follow this Question
Related Questions
Button included as gameObject, perform action when pressed 0 Answers
dontDestroyOnLoad() - When is the gameObject destroyed? 0 Answers
How o know what is the GameObjectName of a button? 0 Answers
How to creating a Gameobject from a prefab via scripted UI BUTTON 1 Answer
How to make an object keep move when pressing a button? 0 Answers