2021-04-21 14:08:45 +08:00
|
|
|
|
using System.Collections;
|
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
using UnityEngine;
|
|
|
|
|
|
using UnityEngine.UI;
|
|
|
|
|
|
|
|
|
|
|
|
namespace Assets.Scenes.Ride.Scripts
|
|
|
|
|
|
{
|
|
|
|
|
|
public class VersionScript : MonoBehaviour
|
|
|
|
|
|
{
|
|
|
|
|
|
void Start()
|
|
|
|
|
|
{
|
|
|
|
|
|
var appVersion = transform.GetComponent<Text>();
|
|
|
|
|
|
if (appVersion != null)
|
|
|
|
|
|
{
|
2021-04-22 19:29:59 +08:00
|
|
|
|
appVersion.text = "V"+App.AppVersion;
|
2021-04-21 14:08:45 +08:00
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|