Unity Ninja Unity 3D Forum
To have exclusive access to all downloads, recourses and links within this forum, a free registered account is required. Just a heads up Wink
Share
Go down
Member [Lv. 1]
Member [Lv. 1]
Posts : 2
Points : 666
Rep : 0
Join date : 2016-09-25
View user profile

I want my button to make an image appear after clicked. How do i do this?

on Sun Sep 25, 2016 2:08 pm
I am a beginner in Unity and programming and I hope someone has an answer to this since this may be very easy to them.
I have 5 images and I want the button to give the player 1 of the 5 images. So that the 1st image has a 50% chance of appearing after button clicked, 2nd image has 30% chance of appearing after clicked, 3rd image has 10% chance of appearing after button clicked, 4th image has 7% chance of appearing after button clicked and the 5th image has 3% chance of appearing after button clicked.
thanks.
Back to top
Permissions in this forum:
You cannot reply to topics in this forum