void Start()
 {
     timer.text  = "0:00";
     health.text = "Health: " + playerController.defaultHealth;
     _minute     = 0;
     _seconds    = 0;
     settingsPopup.Close();
 }
Exemple #2
0
    void Start()
    {
        settingsPopup.Close();
        scoreLabel.text = _score.ToString();

        Cursor.lockState = CursorLockMode.Locked;
        Cursor.visible   = false;
    }
    // Start is called before the first frame update
    void Start()
    {
        _score          = 0;
        scoreLabel.text = _score.ToString(); //присваем очкам значение 0

        settingsPopup.Close();               //закрываем окно в момент начал игры
    }
    private void Start()
    {
        _score          = 0;
        scoreLabel.text = _score.ToString();

        settingsPopup.Close();
    }
Exemple #5
0
    void Start()
    {
        _score         += 0;
        scorelabel.text = _score.ToString();

        settingsPopup.Close();
    }
Exemple #6
0
 void Start()
 {
     score     = 0;
     highScore = PlayerPrefs.GetInt("highScore", 0);
     settingsPopup.Close();
     gameMenuPopup.Close();
 }
Exemple #7
0
 // Start is called before the first frame update
 void Start()
 {
     OnHelathUpdated();
     levelEnding.gameObject.SetActive(false);
     _score          = 0;
     scoreLabel.text = _score.ToString();
     settingsPopup.Close();
     inventoryPopup.gameObject.SetActive(false);
 }
Exemple #8
0
    void Start()
    {
        _score          = 0;
        scoreLabel.text = _score.ToString();

        settingsPopup.Close();

        gameOverController = this.GetComponent <GameOverUIController>();
        gameOverController.disableView();
    }
    // Use this for initialization
    void Start()
    {
        score           = 0;
        scoreValue.text = score.ToString();

        keysValue.text = "0";

        healthBar.fillAmount = 1;
        healthBar.color      = Color.green;

        optionsPopup.Close();
        settingsPopup.Close();
        door3Popup.Close();
        gameOverScreen.Close();
    }
Exemple #10
0
    // Use this for initialization
    void Start()
    {
        //close options pop-up on start of game
        settingsPopup.Close();
        optionsPopup.Close();
        doorPopup.Close();
        welcomeScreen.Open();

        score           = 0;
        scoreValue.text = score.ToString();

        _health = 5;
        healthBar.fillAmount = 1.0f;
        healthBar.color      = Color.green;

        gameOverScreen.Close();
    }
 public void returnToMenu()
 {
     settingsPopup.Close();
     SceneManager.UnloadSceneAsync("RGM");
     SceneManager.LoadScene("MainMenu Scene", LoadSceneMode.Single);
 }
Exemple #12
0
 private void Start()
 {
     settingsPopup.Close();//Изначально настройки закрыты
 }
Exemple #13
0
    private bool IsPaused = false;                        //переменная для проверки, находится ли игра на паузе


    void Start()
    {
        settingsPopup.Close();//закрыть окно с настройками при загрузке
    }
Exemple #14
0
 // Start is called before the first frame update
 void Start()
 {
     tmp.text = "" + 0.0f;
     settingsPopup.Close();
 }
 private void Start()
 {
     popup.Close();
 }
 void Start()
 {
     _score          = 0;
     scoreLabel.text = _score.ToString();          // Присвоение переменной score начального значения 0.
     settingsPopup.Close();
 }
Exemple #17
0
 private void initializeUI()
 {
     settingsPopup.Close();
 }
Exemple #18
0
 // Use this for initialization
 void Start()
 {
     settingsPopup.Close();//Закрываем высплывающее окно в момент начала игры
 }
Exemple #19
0
 // Use this for initialization
 void Start()
 {
     settingsPopup.Close();
 }
 public void Resume()
 {
     popup.Close();
 }
Exemple #21
0
 // Use this for initialization
 private void Start()
 {
     _settingsPopup.Close();
 }
Exemple #22
0
 void Start()
 {
     _score = 0;
     UpdateScoreText();
     settingsPopup.Close();
 }
 // Use this for initialization
 void Start()
 {
     score           = 0;
     scoreLabel.text = score.ToString();
     settingsPopup.Close();
 }
 public void Start()
 {
     _score          = 0;
     scoreLabel.text = _score.ToString();
     settingsPopup.Close(); //закрываем окно при старте
 }