com.iron-mountain.prize-wheels

1.0.1 • Public • Published

Prize Wheels

A tool for creating simple interactive prize wheels!

EASY SET UP! SOME CODING REQUIRED


Key components:

  1. PrizeWheel

    • Use StartSpinning() and Stop() to start and stop the wheel.
    • Value is always an int, but this can be used by other scripts for custom functionality.
    • Place on any gameobject with a Button component.
    • Available events: OnValueChanged, OnStateChanged, OnResult
  2. PrizeWheelStopButton

    • Place on any UI button.
    • Calls Stop() on the referenced PrizeWheel when clicked.
  3. PrizeWheelTickSoundEffect

    • Plays an AudioClip whenever the value of the referenced PrizeWheel changes.

/com.iron-mountain.prize-wheels/

    Package Sidebar

    Install

    npm i com.iron-mountain.prize-wheels

    Weekly Downloads

    3

    Version

    1.0.1

    License

    MIT

    Unpacked Size

    2.06 MB

    Total Files

    30

    Last publish

    Collaborators

    • ludachrismonte