1234567891011121314151617181920212223242526 |
- using System;
- using TMPro;
- using UnityEngine;
- public class SetVersionInfo : MonoBehaviour
- {
- [SerializeField] private TextMeshProUGUI m_VersionText;
- void Start()
- {
- string versionText = Application.productName+" v" + Application.version;
- string copyrightText = "© " + DateTime.Now.Year + " "+Application.companyName+" All Rights Reserved.";
- m_VersionText.text = versionText + Environment.NewLine + copyrightText;
- }
- }
|