public void showCameraPhoto()
    {
        HidePanels();
        AnimateInBottom(panelCameraPhoto);

        UIPanelCommunityBackground.ShowBackground();
    }
    public void showBroadcastRecord()
    {
        HidePanels();
        AnimateInBottom(panelBroadcastRecord);
        UpdateState();

        UIPanelCommunityBackground.ShowBackground();
    }
Esempio n. 3
0
    public virtual void hideDialog()
    {
        UIPanelCommunityBackground.HideBackground();

        if (GameController.Instance.gameRunningState != GameRunningState.RUNNING &&
            GameController.Instance.gameState == GameStateGlobal.GameOverlay)
        {
            GameController.GameRunningStateRun();
        }
    }
Esempio n. 4
0
    public virtual void showDialog()
    {
        GameCommunity.HideGameCommunity();

        UIPanelCommunityBackground.ShowBackground();

        if (GameController.Instance.gameRunningState == GameRunningState.RUNNING)
        {
            GameController.GameRunningStateOverlay();
        }
    }
    public void Awake()
    {
        if (Instance != null && this != Instance)
        {
            //There is already a copy of this script running
            //Destroy(gameObject);
            return;
        }

        Instance = this;
    }