You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
393 B
C#
20 lines
393 B
C#
namespace SRDebugger.UI.Other
|
|
{
|
|
using SRF;
|
|
using UnityEngine.UI;
|
|
|
|
public class VersionTextBehaviour : SRMonoBehaviourEx
|
|
{
|
|
public string Format = "SRDebugger {0}";
|
|
|
|
[RequiredField] public Text Text;
|
|
|
|
protected override void Start()
|
|
{
|
|
base.Start();
|
|
|
|
Text.text = string.Format(Format, SRDebug.Version);
|
|
}
|
|
}
|
|
}
|