I want to make a box opening like clash royale,but i don’t know where to start.
You could start off with the animation and all of that (obvious but gotta say it) and to randomly instantiate an object use Random.Range(0,100) and change it every box and then if you want one item to be more rare than the others then only 10 if those numbers spawn it. Which would make a 10% chance to spawn it. That’s how I’m doing my random spawns.
Hope this helps!