Ejemplo n.º 1
0
 void Start()
 {
     fadeScreen.SetActive(false);
     theCashStore = FindObjectOfType <StoreCash> ();
     musicGObject = GameObject.FindWithTag("music");
     music        = musicGObject.GetComponent <AudioSource> ();
     music.Play();
 }
Ejemplo n.º 2
0
 public void GenerateStoreCash()
 {
     for (int i = 0; i < _cashisonline; i++)
     {
         var storecash = new StoreCash();
         _storeCashes.Add(storecash);
     }
 }
Ejemplo n.º 3
0
 void Start()
 {
     theCashStore = FindObjectOfType <StoreCash> ();
     getCash();
     cashText.text = "" + cashAmmount;
 }