17 lines
327 B
C#
17 lines
327 B
C#
|
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 + " $";
|
||
|
}
|
||
|
}
|