Esempio n. 1
0
    void Start()
    {
        instance = this;

        best       = PlayerPrefs.GetInt("bestScore", 0);
        _best.text = best.ToString();
        _mult.text = "X" + PlayerPrefs.GetInt("multiplier", 1).ToString();
    }
Esempio n. 2
0
 /// <summary>
 /// Script entry point
 /// </summary>
 private void Start()
 {
     m_uID = GameObject.FindObjectOfType<UIDraw>();
     m_eDB = GameObject.FindObjectOfType<EntityDatabase>();
     m_bossActive = false;
     m_score = 0;
     m_tickTime = true;
     StartCoroutine(LevelTimer());
 }
Esempio n. 3
0
 //public AudioSource audioSource;
 private void Awake()
 {
     Instance = this;
 }