private void OnEnable()
 {
     if (Traversal == null)
     {
         Traversal = new NoiseTraversal(this);
     }
     // Register to other callbacks
     //NodeEditorCallbacks.OnDeleteNode += CheckDeleteNode;
 }
 protected override void ValidateSelf()
 {
     if (Traversal == null)
     {
         Traversal = new NoiseTraversal(this);
     }
     if (rootNode == null && (rootNode = nodes.Find((Node n) => n.GetID == rootNodeID) as VoxelInputNode) == null)
     {
         rootNode = Node.Create(rootNodeID, Vector2.zero) as VoxelInputNode;
     }
 }
 protected override void OnCreate()
 {
     Traversal = new NoiseTraversal(this);
     rootNode  = Node.Create(rootNodeID, Vector2.zero) as VoxelInputNode;
 }