public void showCameraPhoto() { HidePanels(); AnimateInBottom(panelCameraPhoto); UIPanelCommunityBackground.ShowBackground(); }
public void showBroadcastRecord() { HidePanels(); AnimateInBottom(panelBroadcastRecord); UpdateState(); UIPanelCommunityBackground.ShowBackground(); }
public virtual void hideDialog() { UIPanelCommunityBackground.HideBackground(); if (GameController.Instance.gameRunningState != GameRunningState.RUNNING && GameController.Instance.gameState == GameStateGlobal.GameOverlay) { GameController.GameRunningStateRun(); } }
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; }