Beispiel #1
0
        // Use this for initialization
        void Awake()
        {
            _instance = this;

            //OpenHUD();
            OpenScreen("Splash Screen");
        }
Beispiel #2
0
        private void ArrestedNext()
        {
            _respawnSettlement = GameState.CanContinueGame();

            if (_respawnSettlement == null)
            {
                UIMain.OpenGameOverStory();
            }
            else
            {
                UIMain.OpenContinueStory();
            }
        }
Beispiel #3
0
        public virtual void Resolve()
        {
            float odds = _manager.GetInspectionOdds();

            if (odds == 1)
            {
                _oddsLabel.text = "You are free to go, sir";

                _resolveButton.gameObject.SetActive(false);
                _closeButton.gameObject.SetActive(true);
            }
            else
            {
                UIMain.OpenResolveBoarding();
            }
        }
Beispiel #4
0
 public void PayFine()
 {
     UIMain.OpenPayFine(_manager);
 }