An open API service indexing awesome lists of open source software.

https://github.com/ctneptune/spinthewheel

An example of spinning a wheel to grant prizes in Unity 3D.
https://github.com/ctneptune/spinthewheel

candy-crush mobile-game unity-3d unity3d wheel-of-fortune

Last synced: about 1 year ago
JSON representation

An example of spinning a wheel to grant prizes in Unity 3D.

Awesome Lists containing this project

README

          

# SpinTheWheel
An example of spinning a wheel that grants prizes in Unity 3D 2018.4.12f1. It's a complete project that should compile out-of-the-box.

Features:
- Custom inspector for easily adding/removing wheel items
- Can spin either clockwise or counterclockwise
- Animations can be tweaked in the inspector
- Simulates 1000 spins and displays the results in the console
- Winning item properties can be plugged into API of your choice (this example just adds the item's value to a text mesh's value)

An example of the wheel in action:



Example showing simulated spins: