BITKit/Packages/Runtime~/Unity/Scripts/Components/ShowVersion.cs

15 lines
339 B
C#
Raw Normal View History

2023-06-05 19:57:17 +08:00
using System.Collections;
using System.Collections.Generic;
using UnityEngine;
2023-06-29 14:57:11 +08:00
2023-06-05 19:57:17 +08:00
namespace BITKit
{
public class ShowVersion : MonoBehaviour
{
2023-08-11 23:57:37 +08:00
[SerializeField,SerializeReference,SubclassSelector] private IProvider output;
private void Start()
2023-06-05 19:57:17 +08:00
{
output?.Set(Application.version);
}
}
}