huge change, new desig wip
This commit is contained in:
@@ -0,0 +1,19 @@
|
||||
using System.Collections;
|
||||
using System.Collections.Generic;
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
|
||||
public class LocomotionStatus : MonoBehaviour
|
||||
{
|
||||
private TextMeshPro text;
|
||||
void Start()
|
||||
{
|
||||
text = GetComponent<TextMeshPro>();
|
||||
UpdateText(LocomotionToggle.IsEnabled);
|
||||
}
|
||||
|
||||
public void UpdateText(bool status)
|
||||
{
|
||||
text.text = "Locomotion: " + (status ? "Enabled" : "Disabled");
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user