PBG2H23ABR_PBG2H23AKL_PMC_P.../Plunderblock/Assets/UI_Manager.cs
2024-06-28 11:24:09 +02:00

27 lines
492 B
C#

using System;
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
using UnityEngine.UI;
public class UI_Manager : MonoBehaviour
{
public Text anzahlKills;
public Transform canvas;
void Start()
{
canvas = this.gameObject.GetComponentInChildren<Transform>();
anzahlKills = canvas.GetComponentInChildren<Text>();
anzahlKills.text = "3";
}
// Update is called once per frame
void Update()
{
}
}