Added buggy PlayerController

This commit is contained in:
DerTyp187
2021-10-12 19:38:20 +02:00
parent bfac9e07a2
commit db14a3c933
328 changed files with 59363 additions and 22 deletions

View File

@@ -0,0 +1,15 @@
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();
}
}