HUGE CHANGES !!!!Add Assembly definitions for code!!!!

This commit is contained in:
xpeng
2022-07-26 15:36:43 +02:00
parent 642f28b29c
commit 54c392fb39
43 changed files with 152 additions and 0 deletions
@@ -0,0 +1,21 @@
using System.Collections;
using System.Collections.Generic;
using TMPro;
using UnityEngine;
public class LocomotionStatus : MonoBehaviour
{
private TextMeshPro text;
// Start is called before the first frame update
void Start()
{
text = GetComponent<TextMeshPro>();
UpdateText(LocomotionToggle.IsEnabled);
}
public void UpdateText(bool status)
{
text.text = "LOCOMOTION: " + (status ? "ENABLED" : "DISABLED");
}
}