14 lines
239 B
C#
14 lines
239 B
C#
using TMPro;
|
|
using UnityEngine;
|
|
|
|
public class UI_GameVersion : MonoBehaviour
|
|
{
|
|
private TextMeshProUGUI _TextMesh;
|
|
|
|
private void Awake()
|
|
{
|
|
_TextMesh = GetComponent<TextMeshProUGUI>();
|
|
_TextMesh.text = "v" + Application.version;
|
|
}
|
|
}
|