GameOverUI.OnGUI C# (CSharp) Method

OnGUI() public method

public OnGUI ( ) : void
return void
    void OnGUI()
    {
        switch(_state){
            case State.DISPLAY:
                guiDisplay.RenderGUIObjects(guiDisplay);
                break;
            case State.INPUT:
                guiInput.RenderGUIObjects(guiInput);
                switch(_initial){
                    case InputInitial.ONE:
                        guiInput.SetGUIVisibleProperty(UP1,true);
                        guiInput.SetGUIVisibleProperty(UP2,false);
                        guiInput.SetGUIVisibleProperty(UP3,false);
                        guiInput.SetGUIVisibleProperty(DOWN1,true);
                        guiInput.SetGUIVisibleProperty(DOWN2,false);
                        guiInput.SetGUIVisibleProperty(DOWN3,false);
                        break;
                    case InputInitial.TWO:
                        guiInput.SetGUIVisibleProperty(UP1,false);
                        guiInput.SetGUIVisibleProperty(UP2,true);
                        guiInput.SetGUIVisibleProperty(UP3,false);
                        guiInput.SetGUIVisibleProperty(DOWN1,false);
                        guiInput.SetGUIVisibleProperty(DOWN2,true);
                        guiInput.SetGUIVisibleProperty(DOWN3,false);
                        break;
                    case InputInitial.THREE:
                        guiInput.SetGUIVisibleProperty(UP1,false);
                        guiInput.SetGUIVisibleProperty(UP2,false);
                        guiInput.SetGUIVisibleProperty(UP3,true);
                        guiInput.SetGUIVisibleProperty(DOWN1,false);
                        guiInput.SetGUIVisibleProperty(DOWN2,false);
                        guiInput.SetGUIVisibleProperty(DOWN3,true);
                        break;
                    case InputInitial.NONE:
                        guiInput.SetGUIVisibleProperty(UP1,false);
                        guiInput.SetGUIVisibleProperty(UP2,false);
                        guiInput.SetGUIVisibleProperty(UP3,false);
                        guiInput.SetGUIVisibleProperty(DOWN1,false);
                        guiInput.SetGUIVisibleProperty(DOWN2,false);
                        guiInput.SetGUIVisibleProperty(DOWN3,false);
                        break;
                    default:
                        break;
                }
                break;
            default:
                break;
        }
    }