Beispiel #1
0
 private IEnumerator temploop()
 {
     while (true)
     {
         societyManager = GameObject.Find("SocietyManager").GetComponent <SocietyManager>();
         societyManager.OccurSociety();
         societyManager.PopupSociety();
         cardManager.UpdateCardsPrice(economyManager.CalculateCurrentPrice());
         cardManager.ActivateCards();
         yield return(new WaitForSeconds(1));
     }
 }