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(); anzahlKills = canvas.GetComponentInChildren(); anzahlKills.text = "3"; } // Update is called once per frame void Update() { } }