27 lines
492 B
C#
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()
|
||
|
{
|
||
|
|
||
|
}
|
||
|
}
|