Пример #1
0
 public void updateDimondsScore(int value)
 {
     m_coinsupdated.SetAvailDiamonds(m_coinsupdated.GetAvailableDiamonds() + value);
     Debug.Log("availAbleDimonds" + m_coinsupdated.GetAvailableDiamonds());
 }
Пример #2
0
 private void setAvailDiamonds(int value)
 {
     m_diamonds.SetAvailDiamonds(m_diamonds.GetAvailableDiamonds() + value);
 }
Пример #3
0
 // Update is called once per frame
 void Update()
 {
     CoinsScoreText.SetText(UpdateScore.GetModifiedAvailCoins().ToString());
     DiamondsScoreText.SetText(UpdateScore.GetAvailableDiamonds().ToString());
     HeartsScoreText.SetText(UpdateScore.GetAvailableHearts().ToString());
 }