Exemple #1
0
 void Start()
 {
     if (PlayerPrefs.GetInt("quitGame", 0) == 1)
     {
         UpdateGold();
     }
     flyGold = (FlyGold)UnityEngine.Object.FindObjectOfType(typeof(FlyGold));
 }
Exemple #2
0
 private void Awake()
 {
     instance = this;
 }