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.
CrowdControl/Assets/3rd/StompyRobot/SRDebugger/Scripts/UI/Other/VersionTextBehaviour.cs

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);
}
}
}