コード例 #1
0
        private void DoOnUpdateNode(ImageProcessingNode node)
        {
            var updateOrder = new LinkedList <ImageProcessingNode>();

            DetermineNodeUpdateOrder(updateOrder, node);

            var notifications = 0;

            var currentNode = updateOrder.First;

            while (currentNode != null)
            {
                //Debug.Log("Notifying: " + currentNode.Value.name);
                currentNode.Value.OnNodeUpdated();
                currentNode = currentNode.Next;

                notifications++;
            }


            Debug.Log("Notified a total of " + notifications + " nodes");
        }
コード例 #2
0
 public void ManualUpdateNotification(ImageProcessingNode node)
 {
     DoOnUpdateNode(node);
 }