Keine Beschreibung
Du kannst nicht mehr als 25 Themen auswählen Themen müssen mit entweder einem Buchstaben oder einer Ziffer beginnen. Sie können Bindestriche („-“) enthalten und bis zu 35 Zeichen lang sein.

ValuePortDefinition.cs 593B

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