Hello guys ;
I have an issue, more of " I don't know how to do it programmatically": I have a Uibutton that I created using DoozyUi and inside the section "OnClick" there is a subsection called "Unity Events"; inside it there is an empty space where I can drop a game object then choose a function according to the script attached to it . that's easy . now my issue is (this will work only on that one object ) but imagine that later on, I want to change that object to another one (at runTime) I will need to do it programmatically, does anyone knows how to do it, please.
Thank you for your time
Please sign in to leave a comment.