GameVersionControl.cs 314 B

12345678910111213141516
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using UnityEngine.UI;
  5. public class GameVersionControl : MonoBehaviour {
  6. [SerializeField]
  7. private Text gameVersion;
  8. void Start ()
  9. {
  10. string info = Application.version;
  11. gameVersion.text = info;
  12. }
  13. }