using System.Collections; using System.Collections.Generic; using TMPro; using UnityEngine; public class MüntideLugeja : MonoBehaviour { public int arv; public TextMeshProUGUI textMeshProUGUI; public void AnnaMünte(int arv) { this.arv += arv; textMeshProUGUI.text = this.arv + " $"; } }