static void NodeWindows() { int ncnt = controller.nodes.Count; int stncnt = controller.posenodes.Count; cfwindow.BeginWindows(); // Normal Node for (int n = 0; n < ncnt; ++n) { GUI.color = NodeColor(n); DrawNode(controller.nodes[n], n); GUI.color = Color.white; } // Pose Node for (int n = 0; n < stncnt; ++n) { GUI.color = NodeColor(poseStartID + n); DrawPoseNode(controller.posenodes[n], n); GUI.color = Color.white; } // Final Node if (controller.final != null) { GUI.color = NodeColor(controller.final); DrawPoseNode(controller.final, stncnt); GUI.color = Color.white; } cfwindow.EndWindows(); }
// Node Windows static void NodeWindows() { int ncnt = modifier.nodes.Count; cfwindow.BeginWindows(); // Normal Node for (int n = 0; n < ncnt; ++n) { GUI.color = NodeColor(n); DrawNode(modifier.nodes[n], n); GUI.color = Color.white; } // Output Node if (modifier.output != null) { GUI.color = NodeColor(modifier.output); DrawNode(modifier.output, ncnt); GUI.color = Color.white; } cfwindow.EndWindows(); }