September 2013
Beginner
292 pages
6h 19m
English
Add the OnGUI() method to StateManager as shown in the following screenshot. Begin the method on line 22:

Unity calls the
OnGUI() method at least once per frame, but it could also be several times per frame. This means that the
ShowIt() method on the active State will be also called for displaying graphics, text, and buttons.