// Use this for initialization void Awake() { current = this; coinsLabel = UIRoot.FindObjectOfType <UILabel> (); coinsLabel.text = PlayerPrefs.GetInt("coins").ToString("D4"); sound = SoundManager.manager.isSoundOn(); }
void Awake() { current = this; }