Ejemplo n.º 1
0
    private void Start()
    {
        _bookshelfHighscores = FindObjectOfType <BookshelfHighscores>();

        _score = 0;

        GenerateUsername();
    }
    void Start()
    {
        for (int i = 0; i < _highscoreFields.Length; i++)
        {
            _highscoreFields[i].text = i + 1 + ". Fetching...";
        }

        _bookshelfHighscoresManager = GetComponent <BookshelfHighscores>();

        StartCoroutine("RefreshHighscores");
    }
Ejemplo n.º 3
0
    public void Start()
    {
        _bookshelfHighscores = FindObjectOfType <BookshelfHighscores>();
        _scoreManager        = FindObjectOfType <Score>();

        StartCoroutine(FloorPanelOff());
        Shuffle(_floorPlateList);
        _gameOverText.enabled = false;

        _timerIsRunning = true;
        _gameOver       = false;
    }
 private void Awake()
 {
     _bookshelfHighscoresDisplay = GetComponent <BookshelfHighscoresDisplay>();
     instance = this;
 }