A game about forced loneliness, made by TACStudios
1using System;
2
3namespace Unity.VisualScripting
4{
5 public abstract class ValuePortDefinition : UnitPortDefinition, IUnitValuePortDefinition
6 {
7 // For the virtual inheritors
8 [SerializeAs(nameof(_type))]
9 private Type _type { get; set; }
10
11 [Inspectable]
12 [DoNotSerialize]
13 public virtual Type type
14 {
15 get
16 {
17 return _type;
18 }
19 set
20 {
21 _type = value;
22 }
23 }
24
25 public override bool isValid => base.isValid && type != null;
26 }
27}