Advertisement
gomuani

HUB

Jun 1st, 2022
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C# 0.34 KB | None | 0 0
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using TMPro;
  5.  
  6. public class HUB : MonoBehaviour
  7. {
  8.     public GameManager gameManager;
  9.     public TextMeshProUGUI puntos;
  10.  
  11.     // Update is called once per frame
  12.     void Update()
  13.     {
  14.         puntos.text = gameManager.PuntosTotales.ToString();  
  15.     }
  16. }
  17.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement