Files
2026-03-04 09:37:33 +08:00

22 lines
328 B
C#

using System;
using UnityEngine;
namespace DebuggingEssentials
{
[Serializable]
public class CountIcon
{
public Texture texOn;
public Texture texOff;
[NonSerialized]
public int count;
public GUIContent GetGUIContent()
{
return Helper.GetGUIContent(count.ToString(), (count > 0) ? texOn : texOff);
}
}
}