20 lines
421 B
C#
Raw Normal View History

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)
{
appVersion.text = App.AppVersion;
}
}
}
}