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

You are not connected. Please login or register

Unity Ninja Unity 3D Forum » HELP » Help (General) » I want my button to make an image appear after clicked. How do i do this?

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

View previous topic View next topic Go down  Message [Page 1 of 1]

Vikingknut


Member [Lv. 1]
Member [Lv. 1]
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.

View user profile

View previous topic View next topic Back to top  Message [Page 1 of 1]

Permissions in this forum:
You cannot reply to topics in this forum