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