The question is pretty straight; I want the user to click on an UI Button (which I already created) and to have a certain object be instantiated in the world.
Now, I have already a script created to instantiate this object, so everything the UI Button would have to do is actually use it.
Any ideas? I did try the Mouse Down function of the Button UI but I had no luck there.
Now, I have already a script created to instantiate this object, so everything the UI Button would have to do is actually use it.
Any ideas? I did try the Mouse Down function of the Button UI but I had no luck there.