PBG2H23ABR_PBG2H23AKL_PMC_P.../Plunderblock/Assets/UI_Manager.cs

27 lines
492 B
C#
Raw Normal View History

2024-06-28 11:24:09 +02:00
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()
{
}
}