- Home /
Question by
symingtonanimation · Nov 16, 2019 at 06:22 AM ·
scripting problemgameobjectspritescript.scripting beginner
How to double spirte/gameobject/prefab and control the result on those items?
I am having trouble figuring out this problem with my game, I wonder if anyone could help me figure this solution or maybe tutorials I may follow, I am pretty new to unity. Before I tell you what the problem is this is how you play the game. You play the game by choosing out of 4 boxes, 1 out of 4 will have the booby trap or the reward depend on the difficulty. My problem isn't with making it that when you click the sprite it changes to different sprite but on multiply number of sprites to choose from and to make it that when you click on one of the boxes it will show 1 boobytrap and 3 diamond or the other way round. How would I go from here to be able to code this solution?
Comment