Added Unity assets and settings, including animation scripts, audio manager configuration, TextMesh Pro styles, and default volume profiles.
This commit is contained in:
@@ -0,0 +1,21 @@
|
||||
using TMPro;
|
||||
using UnityEngine;
|
||||
|
||||
namespace DefaultNamespace
|
||||
{
|
||||
[RequireComponent(typeof(TextMeshProUGUI))]
|
||||
public class TimeLabel : MonoBehaviour
|
||||
{
|
||||
private TextMeshProUGUI _text;
|
||||
|
||||
private void Awake()
|
||||
{
|
||||
_text = GetComponent<TextMeshProUGUI>();
|
||||
}
|
||||
|
||||
private void Update()
|
||||
{
|
||||
_text.text = Time.time.ToString("0.00");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user