// Use this for initialization void Awake() { _instance = this; //OpenHUD(); OpenScreen("Splash Screen"); }
private void ArrestedNext() { _respawnSettlement = GameState.CanContinueGame(); if (_respawnSettlement == null) { UIMain.OpenGameOverStory(); } else { UIMain.OpenContinueStory(); } }
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(); } }
public void PayFine() { UIMain.OpenPayFine(_manager); }