A game about forced loneliness, made by TACStudios
1namespace Unity.VisualScripting 2{ 3 public abstract class UnitPortDefinition : IUnitPortDefinition 4 { 5 [Serialize, Inspectable, InspectorDelayed] 6 [WarnBeforeEditing("Edit Port Key", "Changing the key of this definition will break any existing connection to this port. Are you sure you want to continue?", null, "")] 7 public string key { get; set; } 8 9 [Serialize, Inspectable] 10 public string label { get; set; } 11 12 [Serialize, Inspectable, InspectorTextArea] 13 public string summary { get; set; } 14 15 [Serialize, Inspectable] 16 public bool hideLabel { get; set; } 17 18 [DoNotSerialize] 19 public virtual bool isValid => !string.IsNullOrEmpty(key); 20 } 21}