private void AttachOutputs(NodeBase node) { var types = node.OutputTypes; var playable = node.Playable; for (var i = 0; i < types.Length; i++) { var t = types[i]; switch (t) { case StreamType.Animation: case StreamType.IK: animationOutput.AddInput(playable, i, 1f); break; } } }