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.