OutputNode.cs 426 B

123456789101112131415161718192021
  1. using System.Collections;
  2. using System.Collections.Generic;
  3. using UnityEngine;
  4. using GraphProcessor;
  5. using System.Linq;
  6. [System.Serializable, NodeMenuItem("Custom/OutputNode")]
  7. public class OutputNode : BaseNode
  8. {
  9. [Input(name = "In")]
  10. public float input;
  11. public override string name => "OutputNode";
  12. public override bool deletable => false;
  13. protected override void Process()
  14. {
  15. // Do stuff
  16. }
  17. }