No Description
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Null.cs 487B

1234567891011121314151617181920
  1. namespace Unity.VisualScripting
  2. {
  3. /// <summary>
  4. /// Returns a null value.
  5. /// </summary>
  6. [UnitCategory("Nulls")]
  7. public sealed class Null : Unit
  8. {
  9. /// <summary>
  10. /// A null value.
  11. /// </summary>
  12. [DoNotSerialize]
  13. public ValueOutput @null { get; private set; }
  14. protected override void Definition()
  15. {
  16. @null = ValueOutput<object>(nameof(@null), (recursion) => null).Predictable();
  17. }
  18. }
  19. }