SLEAPY_SMURF/Assets/Scripts/MüntideLugeja.cs

17 lines
327 B
C#
Raw Normal View History

2023-04-29 20:13:37 +00:00
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 + " $";
}
}