BITKit/Src/Unity/Scripts/Components/ShowVersion.cs

16 lines
341 B
C#
Raw Normal View History

2023-06-05 19:57:17 +08:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
2024-05-31 01:23:15 +08:00
using UnityEngine.Events;
2023-06-29 14:57:11 +08:00
2023-06-05 19:57:17 +08:00
namespace BITKit
{
public class ShowVersion : MonoBehaviour
{
2024-05-31 01:23:15 +08:00
[SerializeField] private UnityEvent<string> output;
2023-08-11 23:57:37 +08:00
private void Start()
2023-06-05 19:57:17 +08:00
{
2024-05-31 01:23:15 +08:00
output?.Invoke(Application.version);
2023-06-05 19:57:17 +08:00
}
}
}