FiE-Game/Assets/Scripts/Fie/Title/FieTitleVersionNumberDrawer.cs

21 lines
356 B
C#
Raw Normal View History

2018-11-20 20:10:49 +01:00
using Fie.Manager;
using TMPro;
using UnityEngine;
namespace Fie.Title
{
public class FieTitleVersionNumberDrawer : MonoBehaviour
{
[SerializeField]
private TextMeshProUGUI _textField;
private void Start()
{
if (!(_textField == null))
{
_textField.text = FieManagerBehaviour<FieEnvironmentManager>.I.getVersionString();
}
}
}
}