I apologize if this is a super basic question. But I basically have no experience with scripting or anything. I did look through the forums and videos but I can't figure out how to do this.
Basically I want to have a UI button that does two things (Example: when clicked - change a persons clothes and starts an animation... I can do this part)
And I want to have a UI Toggle that changes the function of that button (Example: When clicked - Just starts the animation, doesn't change clothes).
So, in my mind, I want the UIToggle to uncheck/check the "Change clothes" trigger in the button.
But I can't figure out how to do it. I've gone through all of the options in UIButton but none seem to directly control the triggers. Any ideas?
And again I apologize if this is super simple. I'm just not experienced in it.
Basically I want to have a UI button that does two things (Example: when clicked - change a persons clothes and starts an animation... I can do this part)
And I want to have a UI Toggle that changes the function of that button (Example: When clicked - Just starts the animation, doesn't change clothes).
So, in my mind, I want the UIToggle to uncheck/check the "Change clothes" trigger in the button.
But I can't figure out how to do it. I've gone through all of the options in UIButton but none seem to directly control the triggers. Any ideas?
And again I apologize if this is super simple. I'm just not experienced in it.