MIF_E31222823/Assets/SCRIPT/skor.cs

20 lines
376 B
C#

using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class skor : MonoBehaviour
{
// Start is called before the first frame update
void Start()
{
}
// Update is called once per frame
void Update()
{
GetComponent<Text>().text = PlayerPrefs.GetInt("skor").ToString();
}
}