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

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

            if (_respawnSettlement == null)
            {
                UIMain.OpenGameOverStory();
            }
            else
            {
                UIMain.OpenContinueStory();
            }
        }
Example #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();
            }
        }
Example #4
0
 public void PayFine()
 {
     UIMain.OpenPayFine(_manager);
 }