Skip to content

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

License

Notifications You must be signed in to change notification settings

CTNeptune/SpinTheWheel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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:

About

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

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published