VersionDisplay.cs 264 B

123456789101112
  1. using UnityEngine;
  2. using System.Collections;
  3. using TMPro;
  4. public class VersionDisplay : MonoBehaviour
  5. {
  6. void Start()
  7. {
  8. TextMeshProUGUI label = GetComponent<TextMeshProUGUI>();
  9. label.text = "v"+VersionChecker.BUNDLE_VERSION_NUMBER_FROM_PLAYER_SETTINGS;
  10. }
  11. }