Feature 1: Wheel Spinning

Input: 1 Key

Process: Once 1 is pressed, the animate value is switched to true and the 

spin animation is used. Once it is pressed again, the animation switches back to the 

buffer state and the wheel stops spinning.

Output: The wheel in the middle starts to spin or stops spinning.

Difference: The animation is used to rotate the wheel prefab around.

Feature 2: Menu Show/Hide

Input: 0 Key

Process: When the user presses the zero key, switches the value of the hide parameter to true or false. If true then the text moves off the screen downwards due to switching to the hide state and if false the text moves back up to the screen and switches to the show state.

Output: The text moves out towards the bottom or into the screen

Difference: All of the UI text moves downwards or upwards

Feature 3: Animation Speed

Input: Slider

Process: The slider sends an input to the animation speed function and if there is an 

animation then the speed is the number multiplied by 0.75

Output: The speed of the wheel changes if it is rotating.

Difference: The speed is based on the rotation of the wheel and is multiplied by 0.75.

Feature 4: Reverse Wheel

Input: 2 Key

Process: If the 2 key is pressed, the wheel spinning in the other direction as it sets the 

reverse variable to true. If it is pressed again it will stop spinning and go back to the buffer state

Output: The wheel spins in the other direction

Difference: The wheel spins in a different direction which is different from the examples in class.

Updated 14 hours ago
Published 10 days ago
StatusReleased
CategoryOther
PlatformsHTML5
Authorbrandon_chang
Made withUnity