Ejemplo n.º 1
0
        private static void AddOutConnection(NodeEditorInputInfo inputInfo)
        {
            inputInfo.SetAsCurrentEnvironment();

            NodeEditorState state = inputInfo.editorState;

            if (state.focusedNode != null &&
                state.focusedNode.GetType() == typeof(StateNode))
            {
                StateNode node = state.focusedNode as StateNode;

                node.CreateConnectionKnob(node.StateTransOutAttribute);
            }
        }