mirror of
https://github.com/DerTyp7/defrain-shooter-unity.git
synced 2025-10-29 04:42:13 +01:00
16 lines
387 B
C#
16 lines
387 B
C#
using System.Collections;
|
|
using System.Collections.Generic;
|
|
using UnityEngine;
|
|
using UnityEngine.UI;
|
|
using TMPro;
|
|
public class DebugCanvas : MonoBehaviour
|
|
{
|
|
public TextMeshProUGUI DebugTextGrounded;
|
|
public GameObject Player;
|
|
|
|
private void Update()
|
|
{
|
|
DebugTextGrounded.text = "isGrounded: " + Player.GetComponent<PlayerController>().isGrounded.ToString();
|
|
}
|
|
}
|