using System; using UnityEngine; namespace Fungus { public class ControlWithDisplay : Command { [Tooltip("Display type")] public TDisplayEnum display; protected bool IsDisplayNone(TEnum enumValue) { string displayTypeStr = Enum.GetName(typeof (TEnum), enumValue); return displayTypeStr == "None"; } } }