October 2017
Intermediate to advanced
548 pages
13h 23m
English
Let's define the app states now, as described in the beginning of this section.
Create a new C# script in your Scripts folder named AppStates and edit it as follows to define an enum of the states:
File: AppStates.cspublic enum AppStates {
OVERLAY_OUTLINE, INIT_ANIMATION, SCANNING, GAME_RENDERING, GAME_PLAY, RESET_ALL, NONE
}
Read now
Unlock full access